PointingInterpolator#

class ctapipe.monitoring.PointingInterpolator(**kwargs: Any)[source]#

Bases: LinearInterpolator

Interpolator for pointing and pointing correction data.

Attributes Summary

Methods Summary

__call__(tel_id, time)

Interpolate alt/az for given time and tel_id.

add_table(tel_id, input_table)

Add a table to this interpolator.

Attributes Documentation

expected_units = {'altitude': Unit("rad"), 'azimuth': Unit("rad")}#
required_columns = frozenset({'altitude', 'azimuth', 'time'})#
telescope_data_group = '/dl0/monitoring/telescope/pointing'#

Methods Documentation

__call__(tel_id: int, time: Time) tuple[Quantity, Quantity][source]#

Interpolate alt/az for given time and tel_id.

Parameters:
tel_idint

Telescope id.

timeastropy.time.Time

Time for which to interpolate the pointing.

Returns:
altitudeastropy.units.Quantity[deg]

Interpolated altitude angle.

azimuthastropy.units.Quantity[deg]

Interpolated azimuth angle.

add_table(tel_id: int, input_table: Table) None[source]#

Add a table to this interpolator.

Parameters:
tel_idint

Telescope id.

input_tableastropy.table.Table

Table of pointing values, expected columns are time as Time column, azimuth and altitude as quantity columns for pointing and pointing correction data.