File Histo4d.h

namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace jointcal
class SparseHisto4d
#include <Histo4d.h>

A class to histogram in 4 dimensions. Uses Sparse storage. The number of bin is limited to 256 per dimension. Used in ListMatch.cc

Public Functions

SparseHisto4d()
SparseHisto4d(const int n1, double min1, double max1, const int n2, double min2, double max2, const int n3, double min3, double max3, const int n4, double min4, double max4, const int nEntries)
void fill(const double x[4])
void fill(const double x1, const double x2, const double x3, const double x4)
int maxBin(double x[4])
void zeroBin(double x[4])
void binLimits(const double x[4], const int idim, double &xMin, double &xMax) const

return the bin limits of dimension idim (0<=idim<4), around point X.

int getNEntries() const
~SparseHisto4d()
int code_value(const double x[4]) const
void inverse_code(const int code, double x[4]) const
void sort()
void dump() const

Private Members

std::unique_ptr<int[]> _data
int _ndata
int _dataSize
int _n[4]
double _minVal[4]
double _maxVal[4]
double _scale[4]
bool _sorted