imap_processing.hi.hi_l1c.pset_backgrounds#

imap_processing.hi.hi_l1c.pset_backgrounds(pset_coords: dict[str, DataArray]) dict[str, DataArray]#

Calculate pointing set backgrounds and background uncertainties.

Parameters:

pset_coords (dict[str, xarray.DataArray]) – The PSET coordinates from the xarray.Dataset.

Returns:

Dictionary containing background_rates and background_rates_unc DataArrays to be added to the PSET dataset.

Return type:

dict[str, xarray.DataArray]