Class Defect

Inheritance Relationships

Base Type

Class Documentation

class Defect : public lsst::afw::image::DefectBase

Encapsulate information about a bad portion of a detector.

Public Types

enum DefectPosition

Values:

LEFT = 1

defect is at left boundary

NEAR_LEFT

defect is near left boundary

WIDE_LEFT

defect is wide at left boundary

MIDDLE

defect is in middle of frame

WIDE_NEAR_LEFT

defect is near left, and wide

WIDE

defect is in middle, and wide

WIDE_NEAR_RIGHT

defect is near right, and wide

NEAR_RIGHT

defect is near right boundary

WIDE_RIGHT

defect is wide at right boundary

RIGHT

defect is at right boundary

enum [anonymous]

Values:

WIDE_DEFECT = 11
typedef std::shared_ptr<Defect> Ptr

shared pointer to Defect

Public Functions

Defect(const geom::BoxI &bbox = geom::BoxI())

Parameters
  • bbox: Region’s bounding box

virtual ~Defect()
void classify(DefectPosition pos, unsigned int type)

Parameters
  • pos: Position of defect in chip

  • type: Type of defect

unsigned int getType() const

Return the defect’s interpolation type.

DefectPosition getPos() const

Return the position of the defect.