padre_meddea.calibration.decimation#

Utilities to deal with decimation

Functions

get_decimation(this_time)

Given a time, return the decimation parameters that was in effect at the time

get_decimation_file(this_time)

Given a time, return the decimation filename that was in effect at the time

get_decimation_ftable()

Return a time series table of decimation files

read_decimation_file(file_path)

Read and parse a decimation file.

padre_meddea.calibration.decimation.get_decimation(this_time: Time)[source]#

Given a time, return the decimation parameters that was in effect at the time

padre_meddea.calibration.decimation.get_decimation_file(this_time: Time) Path[source]#

Given a time, return the decimation filename that was in effect at the time

padre_meddea.calibration.decimation.get_decimation_ftable()[source]#

Return a time series table of decimation files

Returns:

file time series

padre_meddea.calibration.decimation.read_decimation_file(file_path: Path)[source]#

Read and parse a decimation file.

Parameters:

file_path (Path)

Returns:

[up, down], edges, decimation_correction_array