Skip to content

Commit

Permalink
Change tel_id default to uint16
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBeiske committed Oct 13, 2022
1 parent 5cf05ef commit 036133e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ctapipe/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@

#: Used for unsigned integer obs_id or sb_id default values:
UNKNOWN_ID = np.uint64(np.iinfo(np.uint64).max)
#: Used for unsigned integer tel_id default value
UNKNOWN_TEL_ID = np.uint16(np.iinfo(np.uint16).max)


obs_id_field = partial(Field, UNKNOWN_ID, description="Observation Block ID")
event_id_field = partial(Field, UNKNOWN_ID, description="Array Event ID")
tel_id_field = partial(Field, UNKNOWN_ID, description="Telescope ID")
tel_id_field = partial(Field, UNKNOWN_TEL_ID, description="Telescope ID")


class SchedulingBlockType(enum.Enum):
Expand Down

0 comments on commit 036133e

Please sign in to comment.