Stack#
- class prose.blocks.Stack(ref=None, **kwargs)#
Build a FITS stack image of the observation
The stack image is accessible through the
stackattribute. It is built by accumulating images along creating a pixel weights map. This map allows to ignore bad pixels contributions to the stack, built through a weighted mean.The idea of weighting is stolen from https://github.com/lsst/meas_algorithms/blob/main/python/lsst/meas/algorithms/accumulator_mean_stack.py
- Parameters:
destination (str, optional) β path of the stack image (must be a .fits file name), dfault is None and does not save
header (dict, optional) β header base of the stack image to be saved, default is None for fresh header
overwrite (bool, optional) β weather to overwrite file if exists, by default False