imap_processing.idex.idex_l2b.compute_rates_by_charge_and_mass#
- imap_processing.idex.idex_l2b.compute_rates_by_charge_and_mass(counts_by_charge: ndarray, counts_by_mass: ndarray, counts_by_charge_map: ndarray, counts_by_mass_map: ndarray, epoch_doy: ndarray, daily_on_percentage: dict) tuple[ndarray, ndarray, ndarray, ndarray, ndarray]#
Compute the dust event counts rates by charge and mass by spin phase for each day.
- Parameters:
counts_by_charge (np.ndarray) – 3D array containing counts by charge and spin phase for each dataset.
counts_by_mass (np.ndarray) – 3D array containing counts by mass and lon and lat for each dataset.
counts_by_charge_map (np.ndarray) – 4D array containing counts by charge and lon and lat for each dataset.
counts_by_mass_map (np.ndarray) – 4D array containing counts by mass and spin phase for each dataset.
epoch_doy (np.ndarray) – Unique days of year corresponding to the epochs in the dataset.
daily_on_percentage (dict) – Percentage of time science acquisition was on for each doy.
- Returns:
Two 3D arrays containing counts rates by charge or mass, and by spin phase for each dataset and the quality flags for each epoch.
- Return type:
tuple[np.ndarray, np.ndarray, np.ndarray]