LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Base class for candidate objects in a SpatialCell that are able to return an Image of some sort (e.g. More...
#include <SpatialCell.h>
Public Types | |
enum | Status { BAD = 0, GOOD = 1, UNKNOWN = 2 } |
Public Member Functions | |
SpatialCellImageCandidate (float const xCenter, float const yCenter) | |
ctor More... | |
SpatialCellImageCandidate (SpatialCellImageCandidate const &)=default | |
SpatialCellImageCandidate (SpatialCellImageCandidate &&)=default | |
SpatialCellImageCandidate & | operator= (SpatialCellImageCandidate const &)=default |
SpatialCellImageCandidate & | operator= (SpatialCellImageCandidate &&)=default |
~SpatialCellImageCandidate () override=default | |
double | getChi2 () const |
Return the candidate's chi^2. More... | |
void | setChi2 (double chi2) |
Set the candidate's chi^2. More... | |
float | getXCenter () const |
Return the object's column-centre. More... | |
float | getYCenter () const |
Return the object's row-centre. More... | |
virtual bool | instantiate () |
Do anything needed to make this candidate usable. More... | |
virtual double | getCandidateRating () const =0 |
Return candidate's rating. More... | |
virtual void | setCandidateRating (double) |
Set the candidate's rating. More... | |
int | getId () const |
Return the candidate's unique ID. More... | |
Status | getStatus () const |
Return the candidate's status. More... | |
void | setStatus (Status status) |
Set the candidate's status. More... | |
virtual bool | isBad () const |
Is this candidate unacceptable? More... | |
Static Public Member Functions | |
static void | setWidth (int width) |
Set the width of the image that getImage should return. More... | |
static int | getWidth () |
Return the width of the image that getImage should return. More... | |
static void | setHeight (int height) |
Set the height of the image that getImage should return. More... | |
static int | getHeight () |
Return the height of the image that getImage should return. More... | |
Base class for candidate objects in a SpatialCell that are able to return an Image of some sort (e.g.
a PSF or a DIA kernel)
Definition at line 126 of file SpatialCell.h.
|
inherited |
|
inline |
ctor
xCenter | The object's column-centre |
yCenter | The object's row-centre |
Definition at line 129 of file SpatialCell.h.
|
default |
|
default |
|
overridedefault |
|
pure virtualinherited |
Return candidate's rating.
Implemented in lsst::meas::algorithms::PsfCandidate< PixelT >, and lsst::ip::diffim::KernelCandidate< _PixelT >.
|
inline |
|
inlinestatic |
Return the height of the image that getImage should return.
Definition at line 147 of file SpatialCell.h.
|
inlineinherited |
|
inlineinherited |
Return the candidate's status.
Definition at line 106 of file SpatialCell.h.
|
inlinestatic |
Return the width of the image that getImage should return.
Definition at line 142 of file SpatialCell.h.
|
inlineinherited |
Return the object's column-centre.
Definition at line 90 of file SpatialCell.h.
|
inlineinherited |
Return the object's row-centre.
Definition at line 93 of file SpatialCell.h.
|
inlinevirtualinherited |
Do anything needed to make this candidate usable.
Definition at line 96 of file SpatialCell.h.
|
inlinevirtualinherited |
|
default |
|
default |
|
inlinevirtualinherited |
|
inline |
|
inlinestatic |
Set the height of the image that getImage should return.
Definition at line 145 of file SpatialCell.h.
|
inherited |
Set the candidate's status.
Definition at line 54 of file SpatialCell.cc.
|
inlinestatic |
Set the width of the image that getImage should return.
Definition at line 140 of file SpatialCell.h.