PointingInterpolator#

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

Bases: Interpolator

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, time)[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, input_table)[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.