LSSTApplications  18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
Classes | Namespaces | Typedefs | Enumerations | Functions
Statistics.h File Reference
#include <algorithm>
#include <cassert>
#include <limits>
#include "boost/iterator/iterator_adaptor.hpp"
#include "boost/tuple/tuple.hpp"
#include <memory>
#include "lsst/afw/image/MaskedImage.h"
#include "lsst/afw/math/MaskedVector.h"

Go to the source code of this file.

Classes

class  lsst::afw::image::Image< PixelT >
 A class to represent a 2-dimensional array of pixels. More...
 
class  lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >
 A class to manipulate images, masks, and variance as a single object. More...
 
class  lsst::afw::math::MaskedVector< EntryT >
 
class  lsst::afw::math::StatisticsControl
 Pass parameters to a Statistics object. More...
 
class  lsst::afw::math::Statistics
 A class to evaluate image statistics. More...
 
class  lsst::afw::math::infinite_iterator< ValueT >
 This iterator will never increment. More...
 
class  lsst::afw::math::MaskImposter< ValueT >
 A Mask wrapper to provide an infinite_iterator for Mask::row_begin(). More...
 
class  lsst::afw::math::ImageImposter< ValueT >
 A vector wrapper to provide a vector with the necessary methods and typedefs to be processed by Statistics as though it were an Image. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::image
 Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
 
 lsst::afw::math
 

Typedefs

typedef lsst::afw::image::VariancePixel lsst::afw::math::WeightPixel
 

Enumerations

enum  lsst::afw::math::Property {
  lsst::afw::math::NOTHING = 0x0, lsst::afw::math::ERRORS = 0x1, lsst::afw::math::NPOINT = 0x2, lsst::afw::math::MEAN = 0x4,
  lsst::afw::math::STDEV = 0x8, lsst::afw::math::VARIANCE = 0x10, lsst::afw::math::MEDIAN = 0x20, lsst::afw::math::IQRANGE = 0x40,
  lsst::afw::math::MEANCLIP = 0x80, lsst::afw::math::STDEVCLIP = 0x100, lsst::afw::math::VARIANCECLIP = 0x200, lsst::afw::math::MIN = 0x400,
  lsst::afw::math::MAX = 0x800, lsst::afw::math::SUM = 0x1000, lsst::afw::math::MEANSQUARE = 0x2000, lsst::afw::math::ORMASK = 0x4000,
  lsst::afw::math::NCLIPPED = 0x8000, lsst::afw::math::NMASKED = 0x10000
}
 control what is calculated More...
 

Functions

Property lsst::afw::math::stringToStatisticsProperty (std::string const property)
 Conversion function to switch a string to a Property (see Statistics.h) More...
 
template<typename Pixel >
Statistics lsst::afw::math::makeStatistics (lsst::afw::image::Image< Pixel > const &img, lsst::afw::image::Mask< image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 Handle a watered-down front-end to the constructor (no variance) More...
 
template<typename ImageT , typename MaskT , typename VarianceT >
Statistics lsst::afw::math::makeStatistics (ImageT const &img, MaskT const &msk, VarianceT const &var, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 Handle a straight front-end to the constructor. More...
 
template<typename Pixel >
Statistics lsst::afw::math::makeStatistics (lsst::afw::image::MaskedImage< Pixel > const &mimg, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 Handle MaskedImages, just pass the getImage() and getMask() values right on through. More...
 
template<typename Pixel >
Statistics lsst::afw::math::makeStatistics (lsst::afw::image::MaskedImage< Pixel > const &mimg, lsst::afw::image::Image< WeightPixel > const &weights, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 Handle MaskedImages, just pass the getImage() and getMask() values right on through. More...
 
Statistics lsst::afw::math::makeStatistics (lsst::afw::image::Mask< lsst::afw::image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 Specialization to handle Masks. More...
 
template<typename Pixel >
Statistics lsst::afw::math::makeStatistics (lsst::afw::image::Image< Pixel > const &img, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 The makeStatistics() overload to handle regular (non-masked) Images. More...
 
template<typename EntryT >
Statistics lsst::afw::math::makeStatistics (std::vector< EntryT > const &v, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 The makeStatistics() overload to handle std::vector<> More...
 
template<typename EntryT >
Statistics lsst::afw::math::makeStatistics (std::vector< EntryT > const &v, std::vector< WeightPixel > const &vweights, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 The makeStatistics() overload to handle std::vector<> More...
 
template<typename EntryT >
Statistics lsst::afw::math::makeStatistics (lsst::afw::math::MaskedVector< EntryT > const &mv, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 The makeStatistics() overload to handle lsst::afw::math::MaskedVector<> More...
 
template<typename EntryT >
Statistics lsst::afw::math::makeStatistics (lsst::afw::math::MaskedVector< EntryT > const &mv, std::vector< WeightPixel > const &vweights, int const flags, StatisticsControl const &sctrl=StatisticsControl())
 The makeStatistics() overload to handle lsst::afw::math::MaskedVector<> More...