imap_processing.swe.l1b.swe_l1b.get_esa_energy_pattern#

imap_processing.swe.l1b.swe_l1b.get_esa_energy_pattern(esa_lut_file: Path, esa_table_num: int = 0) ndarray[tuple[int, ...], dtype[_ScalarType_co]]#

Get energy in the checkerboard pattern of a full cycle of SWE data.

This uses ESA Table index number to look up which pattern to use from ESA LUT. This is used in L2 to process data further.

Parameters:
  • esa_lut_file (pathlib.Path) – ESA LUT file.

  • esa_table_num (int) – ESA table number. Default is 0.

Returns:

energy_pattern – (esa_step, spin_sector) array with energies of cycle data.

Return type:

numpy.ndarray