def test_loading(self): """Test various loading schemes.""" # load demo images CBCT.from_demo_images() # load from folder directly folder = osp.join(varian_test_file_dir, 'Pelvis') CBCT(folder) # load from zip file zfile = osp.join(varian_test_file_dir, 'Pelvis.zip') CBCT.from_zip_file(zfile)
def setUpClass(cls): cls.cbct = CBCT.from_demo_images()
def setUpClass(cls): cls.cbct = CBCT.from_demo_images() cls.cbct.analyze()