Skip to content

Commit

Permalink
remove redundant flip
Browse files Browse the repository at this point in the history
  • Loading branch information
TjarkMiener committed Aug 11, 2024
1 parent c7f525e commit cdb4674
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dl1_data_handler/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def get_mapped_triggerpatch(
image_mapper,
camera_type,
true_image=None,
process_type="Simulation",
random_trigger_patch=False,
trg_pixel_id=None,
trg_waveform_sample_id=None,
Expand Down Expand Up @@ -223,10 +222,6 @@ def get_mapped_triggerpatch(
# Map the waveform snapshots through the ImageMapper
# and transform to selected returning format
mapped_waveform = image_mapper.map_image(vector, camera_type)
if process_type == "Observation" and camera_type == "LSTCam":
mapped_waveform = np.transpose(
np.flip(mapped_waveform, axis=(0, 1)), (1, 0, 2)
) # x = -y & y = -x

trigger_patch_center = {}
waveform_shape_x = waveform_settings["shapes"][camera_type][0]
Expand Down Expand Up @@ -1399,7 +1394,6 @@ def _get_features(self, batch) -> (dict, Table):
self.image_mapper,
camera_type,
true_image,
self.process_type,
random_trigger_patch,
trg_pixel_id,
trg_waveform_sample_id,
Expand Down

0 comments on commit cdb4674

Please sign in to comment.