imap_processing.hi.hi_l2.esa_energy_df#

imap_processing.hi.hi_l2.esa_energy_df(esa_energies_path: str | Path, esa_energy_steps: ndarray | slice | None = None) DataFrame#

Lookup the nominal central energy values for given esa energy steps.

Parameters:
  • esa_energies_path (str or pathlib.Path) – Location of the calibration csv file containing the lookup data.

  • esa_energy_steps (numpy.ndarray, slice, or None) – The ESA energy steps to get energies for. If not provided (default is None), the full dataframe is returned.

Returns:

esa_energies_df – Full data frame from the csv file filtered to only include the esa_energy_steps input.

Return type:

pandas.DataFrame