calibrate_file

hermes_spani.calibration.calibration.calibrate_file(data_filename: Path) Path[source]

Given an input data file, raise it to the next level (e.g. level 0 to level 1, level 1 to quicklook) it and return a new file.

Parameters:

data_filename (Path) – Fully specificied filename of the input data file.

Returns:

output_filename (Path) – Fully specificied filename of the output file.

Examples

>>> from hermes_spani.calibration import calibrate_file
>>> level1_file = calibrate_file('hermes_MAG_l0_2022239-000000_v0.bin')