Skip to content

Commit

Permalink
Add ndim=1 for pixel_status
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jun 2, 2023
1 parent bbb788a commit ed93d63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctapipe/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ class R1CameraContainer(Container):
pixel_status = Field(
None,
"Array of pixel status values, see PixelStatus for definition of the values",
ndim=1,
dtype=np.uint8,
)

Expand Down Expand Up @@ -650,6 +651,7 @@ class DL0CameraContainer(Container):
None,
"Array of pixel status values, see PixelStatus for definition of the values",
dtype=np.uint8,
ndim=1,
)

first_cell_id = Field(
Expand Down

0 comments on commit ed93d63

Please sign in to comment.