ObservationBlockContainer#

class ctapipe.containers.ObservationBlockContainer(prefix=None, **fields)[source]#

Bases: Container

Stores information about the observation

Attributes:
obs_idField(default=18446744073709551615)

Observation Block ID

sb_idField(default=18446744073709551615, type=uint64)

ID of the parent SchedulingBlock

producer_idField(default=unknown, type=str)

Origin of the obs_id, i.e. name of the telescope site or ‘simulation’

stateField(default=ObservationBlockState.UNKNOWN, type=ObservationBlockState)

State of this OB

subarray_pointing_latField(default=nan deg, unit=deg)

latitude of the nominal center coordinate of this observation

subarray_pointing_lonField(default=nan deg, unit=deg)

longitude of the nominal center coordinate of this observation

subarray_pointing_frameField(default=CoordinateFrameType.UNKNOWN, type=CoordinateFrameType)

Frame in which the subarray_target is non-moving. If the frame is ALTAZ, the meaning of (lon,lat) is (azimuth, altitude) while for ICRS it is (right-ascension, declination)

scheduled_durationField(default=nan min, unit=min)

expected duration from scheduler

scheduled_start_timeField(default=0.0)

expected start time from scheduler

actual_start_timeField(default=0.0)

true start time

actual_durationField(default=nan min, unit=min)

true duration

metadict

dict of attached metadata

prefixstr

Prefix attached to column names when saved to a table or file

Attributes Summary

Attributes Documentation

actual_duration#
actual_start_time#
default_prefix = ''#
fields = {'actual_duration': Field(default=nan min, unit=min), 'actual_start_time': Field(default=0.0), 'obs_id': Field(default=18446744073709551615), 'producer_id': Field(default=unknown, type=str), 'sb_id': Field(default=18446744073709551615, type=uint64), 'scheduled_duration': Field(default=nan min, unit=min), 'scheduled_start_time': Field(default=0.0), 'state': Field(default=ObservationBlockState.UNKNOWN, type=ObservationBlockState), 'subarray_pointing_frame': Field(default=CoordinateFrameType.UNKNOWN, type=CoordinateFrameType), 'subarray_pointing_lat': Field(default=nan deg, unit=deg), 'subarray_pointing_lon': Field(default=nan deg, unit=deg)}#
meta#
obs_id#
prefix#
producer_id#
sb_id#
scheduled_duration#
scheduled_start_time#
state#
subarray_pointing_frame#
subarray_pointing_lat#
subarray_pointing_lon#