LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Namespaces | Macros | Functions
scaling.cc File Reference
#include <cstdint>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <stdexcept>
#include "lsst/pex/exceptions.h"
#include "lsst/afw/image/Image.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst.afw.display
 

Macros

#define INSTANTIATE_GETZSCALE(T)
 

Functions

template<class T >
std::pair< double, double > lsst.afw.display::getZScale (image::Image< T > const &image, int const nSamples=1000, double const contrast=0.25)
 Calculate an IRAF/ds9-style zscaling. More...
 
template std::pair< double, double > lsst.afw.display::getZScale (image::Image< std::uint16_t > const &image, int const nSamples, double const contrast)
 
template std::pair< double, double > lsst.afw.display::getZScale (image::Image< float > const &image, int const nSamples, double const contrast)
 

Macro Definition Documentation

◆ INSTANTIATE_GETZSCALE

#define INSTANTIATE_GETZSCALE (   T)
Value:
template std::pair<double, double> getZScale(image::Image<T> const& image, int const nSamples, \
double const contrast)
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
A class to represent a 2-dimensional array of pixels.
Definition: Image.h:59
template std::pair< double, double > getZScale(image::Image< float > const &image, int const nSamples, double const contrast)

Definition at line 220 of file scaling.cc.