ChunkInterpolator#
- class ctapipe.monitoring.ChunkInterpolator(**kwargs: Any)[source]#
 Bases:
MonitoringInterpolatorSimple interpolator for overlapping chunks of data.
Methods Summary
__call__(tel_id, time[, timestamp_tolerance])Interpolate overlapping chunks of data for a given time, tel_id, and column(s).
add_table(tel_id, input_table)Add a table to this interpolator for specific columns.
Methods Documentation
- __call__(tel_id: int, time: ~astropy.time.core.Time, timestamp_tolerance: ~astropy.units.quantity.Quantity = <Quantity 0. s>) float | dict[str, float][source]#
 Interpolate overlapping chunks of data for a given time, tel_id, and column(s).
- Parameters:
 - tel_idint
 Telescope id.
- timeastropy.time.Time
 Time for which to interpolate the data.
- timestamp_toleranceastropy.units.Quantity
 Time difference in seconds to consider two timestamps equal. Default is 0s.
- Returns:
 - interpolatedfloat or dict
 Interpolated data for the specified column(s).
- add_table(tel_id: int, input_table: Table) None[source]#
 Add a table to this interpolator for specific columns.
- Parameters:
 - tel_idint
 Telescope id.
- input_tableastropy.table.Table
 Table of values to be interpolated, expected columns are
time_startasvalidity start Timecolumn,time_endasvalidity end Timeand the specified columns for the data of the chunks.