stack_maps#

madcubapy.operations.maps.stack_maps(*fitsmaps)[source]#

Adds the data of multiple map objects (MadcubaMap or CCDData) together and returns the result as a new map object with the metadata of the first input map.

Parameters:
*fitsmapsMadcubaMap or CCDData

Any number of map objects to be added together.

Returns:
combined_fitsmapMadcubaMap or CCDData

A new map object containing the sum of the data of the input maps.