imap_processing.hi.hi_l2.create_sky_map_from_psets#

imap_processing.hi.hi_l2.create_sky_map_from_psets(psets: list[str | Path], l2_ancillary_path_dict: dict[str, Path], descriptor: MapDescriptor) RectangularSkyMap#

Project Hi PSET data into a sky map.

Parameters:
  • psets (list of str or pathlib.Path) – List of input PSETs to make a map from.

  • l2_ancillary_path_dict (dict[str, pathlib.Path]) – Mapping containing ancillary file descriptors as keys and file paths as values. Require keys are: [“cal-prod”, “esa-energies”, “esa-eta-fit-factors”].

  • descriptor (imap_processing.ena_maps.utils.naming.MapDescriptor) – Output filename descriptor. Contains full configuration for the options of how to generate the map.

Returns:

sky_map – The sky map with all the PSET data projected into the map. Includes an energy coordinate and energy_delta_minus and energy_delta_plus variables from ESA energy calibration data.

Return type:

RectangularSkyMap