Skip to content

Commit bbba34b

Browse files
committed
Proton portpy changes
1 parent 9d41391 commit bbba34b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/python_files/proton_tutorial.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def proton_tutorial():
8686
'Cord38': 'CORD',
8787
'Patient Surfac38': 'BODY'}
8888
# get num points from influence matrix rows
89-
# num_points = beams.beams_dict['influenceMatrixSparse'][0].shape[0]
89+
num_points = beams.beams_dict['influenceMatrixSparse'][0].shape[0]
9090
# Create ct dose voxel map. It modify raw data to create data in PortPy format
91-
# create_ct_dose_voxel_map(os.path.join(data.data_dir, data.patient_id), num_points=num_points)
91+
create_ct_dose_voxel_map(os.path.join(data.data_dir, data.patient_id), num_points=num_points)
9292
structs = pp.Structures(data)
9393

9494
dicom_structure_names = map_structures.keys()

0 commit comments

Comments
 (0)