imap_processing.codice.codice_l1b.convert_to_rates#

imap_processing.codice.codice_l1b.convert_to_rates(dataset: Dataset, descriptor: str) ndarray#

Apply a conversion from counts to rates.

The formula for conversion from counts to rates is specific to each data product, but is largely grouped by CoDICE-Lo and CoDICE-Hi products.

Parameters:
  • dataset (xarray.Dataset) – The L1b dataset containing the data to convert.

  • descriptor (str) – The descriptor of the data product of interest.

Returns:

rates_data – The converted data array.

Return type:

np.ndarray