imap_processing.idex.idex_l2a.idex_l2a#

imap_processing.idex.idex_l2a.idex_l2a(l1b_dataset: Dataset, ancillary_files: dict) Dataset#

Will process IDEX l1b data to create l2a data products.

This will use fits to estimate the total impact charge for the Ion Grid and two target signals.

Calculate mass scales for each event using the TOF high arrays (best quality of the 3 gain stages). The TOF peaks are fitted to EMG curves to determine total intensity, max amplitude, and signal quality.

Parameters:
  • l1b_dataset (xarray.Dataset) – IDEX L1a dataset to process.

  • ancillary_files (dict) – Ancillary files containing calibration coefficients needed to estimate velocity and mass of the dust particles.

Returns:

l1b_dataset – The``xarray`` dataset containing the science data and supporting metadata.

Return type:

xarray.Dataset