Skip to content

Commit

Permalink
Merge pull request #149 from IMSY-DKFZ/hotfix
Browse files Browse the repository at this point in the history
Fixed detector positioning in msot acuity echo
  • Loading branch information
kdreher authored Jun 14, 2022
2 parents b546933 + 1e46e54 commit 988f294
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ def __init__(self, device_position_mm: np.ndarray = None,
self.probe_height_mm = 43.2
self.focus_in_field_of_view_mm = 8
self.detection_geometry_position_vector = np.add(self.device_position_mm,
np.array([0, 0,
self.probe_height_mm +
self.focus_in_field_of_view_mm]))
np.array([0, 0, self.focus_in_field_of_view_mm]))

if field_of_view_extent_mm is None:
self.field_of_view_extent_mm = np.asarray([-(2 * np.sin(0.34 / 40 * 128) * 40) / 2,
Expand Down Expand Up @@ -190,7 +188,7 @@ def update_settings_for_use_of_model_based_volume_creator(self, global_settings)
self.set_detection_geometry(detection_geometry)
for illumination_geom in self.illumination_geometries:
illumination_geom.device_position_mm = np.add(illumination_geom.device_position_mm,
np.array([0, 0, probe_size_mm]))
np.array([width_shift_for_structures_mm, 0, probe_size_mm]))

background_settings = Settings({
Tags.MOLECULE_COMPOSITION: TISSUE_LIBRARY.heavy_water(),
Expand Down

0 comments on commit 988f294

Please sign in to comment.