Skip to content

Commit

Permalink
Merge pull request #40 from vuillaut/waveform_dtype
Browse files Browse the repository at this point in the history
R0 waveforms read in float32
  • Loading branch information
rlopezcoto authored Jul 10, 2020
2 parents 96b86aa + b7dd56e commit dc08728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctapipe_io_lst/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def fill_r0_camera_container_from_zfile(self, r0_container, event):
# initialize the waveform container to zero
n_camera_pixels = self.subarray.tel[self.tel_id].camera.geometry.n_pixels
r0_container.waveform = np.zeros([self.n_gains, n_camera_pixels,
self.camera_config.num_samples])
self.camera_config.num_samples], dtype=np.float32)

# re-order the waveform following the expected_pixels_id values
# (rank = pixel id)
Expand Down

0 comments on commit dc08728

Please sign in to comment.