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) dict[str, 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_maps – Dictionary mapping spin phase keys (“ram”, “anti”, or “full”) to sky maps with all the PSET data projected. Includes an energy coordinate and energy_delta_minus and energy_delta_plus variables from ESA energy calibration data. For helioframe full-spin maps, contains “ram” and “anti” keys; otherwise contains a single key matching the descriptor’s spin_phase.
- Return type: