calibpipe.telescope.throughput package#

Throughput-related telescope calibration utilities.

Submodules#

calibpipe.telescope.throughput.containers module#

Containers to keep optical throughput data and metadata.

class calibpipe.telescope.throughput.containers.OpticalThoughtputContainer(prefix=None, **fields)[source]#

Bases: Container

Optical throughput calibration coefficient and analysis results for a single telescope.

Attributes:
meanField(default=nan, type=float64, allow_none=False)

Mean optical throughput from the selected calibration method

medianField(default=nan, type=float64, allow_none=False)

Optical throughput from the selected calibration method

stdField(default=nan, type=float64, allow_none=False)

Optical throughput from the selected calibration method

semField(default=nan, type=float64, allow_none=False)

Standard error of the mean optical throughput from the selected calibration method

methodField(default=None, type=str, allow_none=False)

Calibration method used

time_startField(default=0.0, type=Time, allow_none=False)

Starting timestamp of validity for the selected throughput.

time_endField(default=0.0, type=Time, allow_none=False)

Ending timestamp of validity for the selected throughput.

obs_idField(default=-1, type=int32, allow_none=False)

ID of the observation block for validity

n_eventsField(default=0, type=int64, allow_none=False)

Number of muon rings used to calculate the throughput

metadict

dict of attached metadata

prefixstr

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

mean#
median#
std#
sem#
method#
time_start#
time_end#
obs_id#
n_events#
meta#
prefix#
default_prefix = 'opticalthoughtput'#
fields = {'mean': Field(default=nan, type=float64, allow_none=False), 'median': Field(default=nan, type=float64, allow_none=False), 'method': Field(default=None, type=str, allow_none=False), 'n_events': Field(default=0, type=int64, allow_none=False), 'obs_id': Field(default=-1, type=int32, allow_none=False), 'sem': Field(default=nan, type=float64, allow_none=False), 'std': Field(default=nan, type=float64, allow_none=False), 'time_end': Field(default=0.0, type=Time, allow_none=False), 'time_start': Field(default=0.0, type=Time, allow_none=False)}#