ChunkInterpolator#
- class ctapipe.monitoring.interpolation.ChunkInterpolator(**kwargs: Any)[source]#
Bases:
MonitoringInterpolator
Simple interpolator for overlapping chunks of data.
Methods Summary
__call__
(tel_id, time)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: Time) 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.
- 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
start_time
asvalidity start Time
column,end_time
asvalidity end Time
and the specified columns for the data of the chunks.