本文整理匯總了Python中pylinac.vmat.VMAT.from_demo_images方法的典型用法代碼示例。如果您正苦於以下問題:Python VMAT.from_demo_images方法的具體用法?Python VMAT.from_demo_images怎麽用?Python VMAT.from_demo_images使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類pylinac.vmat.VMAT
的用法示例。
在下文中一共展示了VMAT.from_demo_images方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: test_demo_image_loads
# 需要導入模塊: from pylinac.vmat import VMAT [as 別名]
# 或者: from pylinac.vmat.VMAT import from_demo_images [as 別名]
def test_demo_image_loads(self):
"""Test the that demo images load properly."""
# shouldn't raise
VMAT.from_demo_images(DRGS)
VMAT.from_demo_images(DRMLC)
示例2: setUpClass
# 需要導入模塊: from pylinac.vmat import VMAT [as 別名]
# 或者: from pylinac.vmat.VMAT import from_demo_images [as 別名]
def setUpClass(cls):
cls.vmat = VMAT.from_demo_images()
cls.vmat.analyze()
示例3: setUp
# 需要導入模塊: from pylinac.vmat import VMAT [as 別名]
# 或者: from pylinac.vmat.VMAT import from_demo_images [as 別名]
def setUp(self):
self.vmat = VMAT.from_demo_images()
示例4: setUp
# 需要導入模塊: from pylinac.vmat import VMAT [as 別名]
# 或者: from pylinac.vmat.VMAT import from_demo_images [as 別名]
def setUp(self):
self.vmat = VMAT.from_demo_images(self.test_type)
self.vmat.analyze(self.test_type)
示例5: setUp
# 需要導入模塊: from pylinac.vmat import VMAT [as 別名]
# 或者: from pylinac.vmat.VMAT import from_demo_images [as 別名]
def setUp(self):
self.vmat = VMAT.from_demo_images('drgs')
self.vmat.settings.x_offset = 20