imap_processing.hi.hi_l2.combine_maps#

imap_processing.hi.hi_l2.combine_maps(sky_maps: dict[str, RectangularSkyMap]) RectangularSkyMap#

Combine ram and anti-ram sky maps using appropriate weighting.

For full-spin heliocentric frame maps, ram and anti-ram maps are processed separately through the CG correction pipeline, then combined here using inverse-variance weighting for intensity and appropriate methods for other variables.

Parameters:

sky_maps (dict[str, RectangularSkyMap]) – Dictionary of sky maps to combine. Expected to contain either 1 map (no combination needed) or 2 maps with “ram” and “anti” keys.

Returns:

Combined sky map.

Return type:

RectangularSkyMap