opengate.contrib.spect.ge_discovery_nm670 ========================================= .. py:module:: opengate.contrib.spect.ge_discovery_nm670 Functions --------- .. autoapisummary:: opengate.contrib.spect.ge_discovery_nm670.get_collimator opengate.contrib.spect.ge_discovery_nm670.add_fake_spect_head opengate.contrib.spect.ge_discovery_nm670.get_orientation_for_ct opengate.contrib.spect.ge_discovery_nm670.add_spect_head opengate.contrib.spect.ge_discovery_nm670.distance_to_center_of_crystal opengate.contrib.spect.ge_discovery_nm670.add_spect_box opengate.contrib.spect.ge_discovery_nm670.add_crystal opengate.contrib.spect.ge_discovery_nm670.add_collimator opengate.contrib.spect.ge_discovery_nm670.hegp_collimator_repeater opengate.contrib.spect.ge_discovery_nm670.megp_collimator_repeater opengate.contrib.spect.ge_discovery_nm670.lehr_collimator_repeater opengate.contrib.spect.ge_discovery_nm670.add_simplified_digitizer_tc99m opengate.contrib.spect.ge_discovery_nm670.add_digitizer opengate.contrib.spect.ge_discovery_nm670.add_digitizer_energy_windows opengate.contrib.spect.ge_discovery_nm670.add_digitizer_tc99m opengate.contrib.spect.ge_discovery_nm670.add_digitizer_lu177 opengate.contrib.spect.ge_discovery_nm670.get_volume_position_in_head opengate.contrib.spect.ge_discovery_nm670.compute_plane_position_and_distance_to_crystal opengate.contrib.spect.ge_discovery_nm670.get_plane_position_and_distance_to_crystal opengate.contrib.spect.ge_discovery_nm670.add_fake_table opengate.contrib.spect.ge_discovery_nm670.set_head_orientation opengate.contrib.spect.ge_discovery_nm670.add_detection_plane_for_arf Module Contents --------------- .. py:function:: get_collimator(rad) .. py:function:: add_fake_spect_head(sim, name='spect') .. py:function:: get_orientation_for_ct(colli_type, table_shift, radius) .. py:function:: add_spect_head(sim, name='spect', collimator_type='lehr', debug=False) Collimators: - False : no collimator - lehr : holes length 35 mm, diam 1.5 mm, septal thickness : 0.2 mm - megp : holes length 58 mm, diam 3 mm, septal thickness : 1.05 mm - hegp : holes length 66 mm, diam 4 mm, septal thickness : 1.8 mm Collimator LEHR: Low Energy High Resolution (for Tc99m) Collimator MEGP: Medium Energy General Purpose (for In111, Lu177) Collimator HEGP: High Energy General Purpose (for I131) .. py:function:: distance_to_center_of_crystal(sim, name='spect') .. py:function:: add_spect_box(sim, name) .. py:function:: add_crystal(sim, name, lead_cover) .. py:function:: add_collimator(sim, name, head, collimator_type, debug) Start with default lehr collimator description, then change some parameters for the other types .. py:function:: hegp_collimator_repeater(sim, name, core, debug) .. py:function:: megp_collimator_repeater(sim, name, core, debug) .. py:function:: lehr_collimator_repeater(sim, name, core, debug) .. py:function:: add_simplified_digitizer_tc99m(sim, crystal_volume_name, output_name, scatter_flag=False) .. py:function:: add_digitizer(sim, crystal_volume_name, channels) .. py:function:: add_digitizer_energy_windows(sim, crystal_volume_name, channels) .. py:function:: add_digitizer_tc99m(sim, crystal_name, name) .. py:function:: add_digitizer_lu177(sim, crystal_name, name) .. py:function:: get_volume_position_in_head(sim, spect_name, vol_name, pos='max', axis=2) .. py:function:: compute_plane_position_and_distance_to_crystal(collimator_type) .. py:function:: get_plane_position_and_distance_to_crystal(collimator_type) This has been computed with t043_distances or compute_plane_position_and_distance_to_crystal - first : distance from head center to the PSD (translation for the plane) - second: distance from PSD to center of the crystal - third : distance from the head boundary to the PSD (for spect_radius info) .. py:function:: add_fake_table(sim, name='table') Add a patient table (fake) .. py:function:: set_head_orientation(head, collimator_type, radius, gantry_angle=0) .. py:function:: add_detection_plane_for_arf(sim, plane_size, colli_type, radius, gantry_angle=0, det_name=None)