imap_processing.codice.utils.get_energy_info#

imap_processing.codice.utils.get_energy_info(energy_table: ndarray) tuple[ndarray, ndarray, ndarray]#

Calculate energy bin centers and deltas from energy table.

Parameters:

energy_table (np.ndarray) – The species plus and minus energy array.

Returns:

  • centers (np.ndarray) – The geometric centers of the energy bins.

  • deltas_minus (np.ndarray) – The delta minus values of the energy bins.

  • deltas_plus (np.ndarray) – The delta plus values of the energy bins.