File Defect.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 afw
namespace image
class DefectBase
#include <Defect.h>

Encapsulate information about a bad portion of a detector

Subclassed by lsst::meas::algorithms::Defect

Public Functions

DefectBase(const lsst::geom::Box2I &bbox)

Parameters
  • bbox: Bad pixels’ bounding box

DefectBase(DefectBase const&)
DefectBase(DefectBase&&)
DefectBase &operator=(DefectBase const&)
DefectBase &operator=(DefectBase&&)
virtual ~DefectBase()
lsst::geom::Box2I const &getBBox() const

Return the Defect’s bounding box.

int getX0() const

Return the Defect’s left column.

int getX1() const

Return the Defect’s right column.

int getY0() const

Return the Defect’s bottom row.

int getY1() const

Return the Defect’s top row.

void clip(lsst::geom::Box2I const &bbox)
void shift(int dx, int dy)

Parameters
  • dx: How much to move defect in column direction

  • dy: How much to move in row direction

Offset a Defect by (dx, dy)

void shift(lsst::geom::Extent2I const &d)

Private Members

lsst::geom::Box2I _bbox

Bounding box for bad pixels.