MonitoringInterpolator#

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

Bases: Component

MonitoringInterpolator parent class.

Parameters:
h5fileNone | tables.File

An open hdf5 file with read access.

Methods Summary

__call__(tel_id, time)

Interpolates monitoring data for a given timestamp

add_table(tel_id, input_table)

Add a table to this interpolator.

Methods Documentation

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

Interpolates monitoring data for a given timestamp

Parameters:
tel_idint

Telescope id.

timeastropy.time.Time

Time for which to interpolate the monitoring data.

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

Add a table to this interpolator.

This method reads input tables and creates instances of the needed interpolators. The first index of _interpolators needs to be tel_id, the second needs to be the name of the parameter that is to be interpolated.

Parameters:
tel_idint

Telescope id.

input_tableastropy.table.Table

Table of pointing values, expected columns are always time as Time column and other columns for the data that is to be interpolated.