lsst.meas.algorithms g0603fd7c41+501e3db9f9
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
lsst::meas::algorithms::Defect Class Reference

Encapsulate information about a bad portion of a detector. More...

#include <Interp.h>

Inheritance diagram for lsst::meas::algorithms::Defect:
lsst::afw::image::DefectBase

Public Types

enum  DefectPosition {
  LEFT = 1 , NEAR_LEFT , WIDE_LEFT , MIDDLE ,
  WIDE_NEAR_LEFT , WIDE , WIDE_NEAR_RIGHT , NEAR_RIGHT ,
  WIDE_RIGHT , RIGHT
}
 
enum  { WIDE_DEFECT = 11 }
 
typedef std::shared_ptr< DefectPtr
 shared pointer to Defect
 

Public Member Functions

 Defect (const geom::BoxI &bbox=geom::BoxI())
 
virtual ~Defect ()
 
void classify (DefectPosition pos, unsigned int type)
 
unsigned int getType () const
 Return the defect's interpolation type.
 
DefectPosition getPos () const
 Return the position of the defect.
 
lsst::geom::Box2I const & getBBox () const noexcept
 
int getX0 () const noexcept
 
int getX1 () const noexcept
 
int getY0 () const noexcept
 
int getY1 () const noexcept
 
void clip (lsst::geom::Box2I const &bbox) noexcept
 
void shift (int dx, int dy)
 
void shift (lsst::geom::Extent2I const &d)
 

Detailed Description

Encapsulate information about a bad portion of a detector.

Definition at line 72 of file Interp.h.

Member Typedef Documentation

◆ Ptr

shared pointer to Defect

Definition at line 74 of file Interp.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
WIDE_DEFECT 

Definition at line 89 of file Interp.h.

◆ DefectPosition

Enumerator
LEFT 

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

Definition at line 76 of file Interp.h.

Constructor & Destructor Documentation

◆ Defect()

lsst::meas::algorithms::Defect::Defect ( const geom::BoxI & bbox = geom::BoxI())
inlineexplicit
Parameters
bboxRegion's bounding box

Definition at line 91 of file Interp.h.

◆ ~Defect()

virtual lsst::meas::algorithms::Defect::~Defect ( )
inlinevirtual

Definition at line 94 of file Interp.h.

Member Function Documentation

◆ classify()

void lsst::meas::algorithms::Defect::classify ( DefectPosition pos,
unsigned int type )
inline
Parameters
posPosition of defect in chip
typeType of defect

Definition at line 96 of file Interp.h.

◆ getPos()

DefectPosition lsst::meas::algorithms::Defect::getPos ( ) const
inline

Return the position of the defect.

Definition at line 104 of file Interp.h.

◆ getType()

unsigned int lsst::meas::algorithms::Defect::getType ( ) const
inline

Return the defect's interpolation type.

Definition at line 103 of file Interp.h.


The documentation for this class was generated from the following file: