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, ndarray, ndarray]#
Compute the dust counts by charge and mass by spin phase or lon and lat 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, Two 4D arrays containing counts by charge or mass, and by lon and lat for each dataset, and a 1D array of daily epoch values.
- Return type:
tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray, np.ndarray]