imap_processing.idex.idex_l2b.compute_counts_by_charge_and_mass#

imap_processing.idex.idex_l2b.compute_counts_by_charge_and_mass(l2a_dataset: Dataset, epoch_doy_unique: ndarray) tuple[ndarray, ndarray, ndarray]#

Compute the dust event counts by charge and mass by spin phase per day.

Parameters:
  • l2a_dataset (xarray.Dataset) – Combined IDEX L2a datasets.

  • epoch_doy_unique (np.ndarray) – Unique days of year corresponding to the epochs in the dataset.

Returns:

Two 3D arrays containing counts by charge or mass, and by spin phase for each dataset, and a 1D array of daily epoch values.

Return type:

tuple[np.ndarray, np.ndarray, np.ndarray]