Template Function lsst::afw::math::statisticsStack(std::vector<std::shared_ptr<lsst::afw::image::MaskedImage<PixelT>>>&, Property, StatisticsControl const&, std::vector<lsst::afw::image::VariancePixel> const&, image::MaskPixel, image::MaskPixel)

Function Documentation

template<typename PixelT>
std::shared_ptr<lsst::afw::image::MaskedImage<PixelT>> lsst::afw::math::statisticsStack(std::vector<std::shared_ptr<lsst::afw::image::MaskedImage<PixelT>>> &images, Property flags, StatisticsControl const &sctrl = StatisticsControl(), std::vector<lsst::afw::image::VariancePixel> const &wvector = std::vector<lsst::afw::image::VariancePixel>(0), image::MaskPixel clipped = 0, image::MaskPixel excuse = 0)

Parameters
  • images: MaskedImages to process

  • flags: statistics requested

  • sctrl: control structure

  • wvector: vector containing weights

  • clipped: bitmask to set if any input was clipped or masked

  • excuse: bitmask to excuse from marking as clipped

A function to compute some statistics of a stack of Masked Images

If none of the input images are valid for some pixel, the afwMath::StatisticsControl::getNoGoodPixelsMask() bit(s) are set.

Delegates to the more general version of statisticsStack taking a maskMap.