File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Submodule
data updated from ddce793 to 1d13e95
Original file line number Diff line number Diff line change 1313import numpy as np
1414
1515if __name__ == "__main__" :
16-
17- paths = utility .get_default_test_paths (
18- __file__ , "gate_test098" , output_folder = "gate_test098"
19- )
16+ paths = utility .get_default_test_paths (__file__ , "test098" , output_folder = "test098" )
2017
2118 cm = g4_units .cm
2219 mm = g4_units .mm
3229 sim .number_of_threads = 2
3330 sim .random_seed = "auto"
3431
35- sim .volume_manager .add_material_database (paths .gate_data / "GateMaterials.db" )
32+ sim .volume_manager .add_material_database (paths .data / "GateMaterials.db" )
3633
3734 sim .physics_manager .special_physics_constructors .G4OpticalPhysics = True
3835
39- sim .physics_manager .optical_properties_file = paths .gate_data / "Materials.xml"
36+ sim .physics_manager .optical_properties_file = (
37+ paths .data / "test098" / "Materials.xml"
38+ )
4039
4140 sim .world .size = [6 * cm , 6 * cm , 2 * cm ]
4241 sim .world .material = "Air"
4342
44- img_path = paths .data / "vox_volume.mhd"
43+ img_path = paths .data / "test098" / " vox_volume.mhd"
4544
4645 img = sitk .ReadImage (img_path )
4746 Spacing = img .GetSpacing ()
5756 [
5857 - 0.5 ,
5958 0.5 ,
60- "Fat " ,
59+ "Adipose " ,
6160 ],
6261 [0.5 , 1.5 , "Muscle" ],
6362 ]
8988
9089 compare = utility .compare_root3
9190
92- root_ref_path = paths .data / "test098_box_volume.root"
91+ root_ref_path = paths .data / "test098" / " test098_box_volume.root"
9392 root_output_path = sim .output_dir / phsp .output_filename
9493
9594 branch = "phsp;1"
You can’t perform that action at this time.
0 commit comments