Skip to content

Commit

Permalink
Change dtype of first_cell_id to uint16, add ndim
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jun 19, 2023
1 parent 94ad54a commit 185bb9e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ctapipe/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,19 +588,22 @@ class R1CameraContainer(Container):
first_cell_id = Field(
None,
"Array of first cell ids of the readout chips. Only used by LST and SST.",
dtype=np.uint32,
dtype=np.uint16,
ndim=1,
)

module_hires_local_clock_counter = Field(
None,
"Clock counter values of the camera modules. See R1 data model for details.",
dtype=np.uint64,
ndim=1,
)

pedestal_intensity = Field(
None,
"Pedestal intensity in each pixel in DC",
dtype=np.float32,
ndim=1,
)

calibration_monitoring_id = Field(
Expand All @@ -615,6 +618,8 @@ class R1CameraContainer(Container):
"Note: should be replaced by using ``pixel_status`` "
"Shape: (n_pixels)"
),
ndim=1,
dtype=np.uint8,
)


Expand Down Expand Up @@ -660,7 +665,8 @@ class DL0CameraContainer(Container):
first_cell_id = Field(
None,
"Array of first cell ids of the readout chips. Only used by LST and SST.",
dtype=np.uint32,
dtype=np.uint16,
ndim=1,
)

calibration_monitoring_id = Field(
Expand Down

0 comments on commit 185bb9e

Please sign in to comment.