2 #ifndef LSST_AFW_TABLE_slots_h_INCLUDED
3 #define LSST_AFW_TABLE_slots_h_INCLUDED
table::Key< std::string > name
An ellipse core with quadrupole moments as parameters.
SlotDefinition specialization for centroids.
CentroidSlotDefinition & operator=(CentroidSlotDefinition const &)=default
Eigen::Matrix< float, 2, 2 > ErrValue
Type returned by accessing the slot uncertainty.
CentroidSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Centroid")
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
CovarianceMatrixKey< float, 2 > ErrKey
Key type used to access the slot uncertainty.
CentroidSlotDefinition(CentroidSlotDefinition const &)=default
CentroidSlotDefinition & operator=(CentroidSlotDefinition &&)=default
~CentroidSlotDefinition()=default
Point2DKey MeasKey
Key type used to access the slot measurement.
CentroidSlotDefinition(CentroidSlotDefinition &&)=default
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
lsst::geom::Point2D MeasValue
Type returned by accessing the slot measurement.
bool isValid() const
Return true if the key associated with the measurement is valid.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
SlotDefinition specialization for fluxes.
~FluxSlotDefinition()=default
bool isValid() const
Return true if the key associated with the measurement is valid.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
double ErrValue
Type returned by accessing the slot uncertainty.
Key< double > MeasKey
Key type used to access the slot measurement.
FluxSlotDefinition & operator=(FluxSlotDefinition &&)=default
Key< double > ErrKey
Key type used to access the slot uncertainty.
double MeasValue
Type returned by accessing the slot measurement.
FluxSlotDefinition & operator=(FluxSlotDefinition const &)=default
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
FluxSlotDefinition(FluxSlotDefinition &&)=default
FluxSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "PsfFlux")
FluxSlotDefinition(FluxSlotDefinition const &)=default
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
Key specialization for Flag.
bool isValid() const noexcept
Return true if the key was initialized to valid offset.
bool isValid() const noexcept
Return True if both the x and y Keys are valid.
A FunctorKey used to get or set a geom::ellipses::Quadrupole from a tuple of constituent Keys.
bool isValid() const noexcept
Return True if all the constituent Keys are valid.
Defines the fields and offsets for a table.
SlotDefinition specialization for shapes.
ShapeSlotDefinition(ShapeSlotDefinition const &)=default
ShapeSlotDefinition & operator=(ShapeSlotDefinition &&)=default
CovarianceMatrixKey< float, 3 > ErrKey
Key type used to access the slot uncertainty.
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
void setKeys(std::string const &alias, Schema const &schema)
Update the cached Keys following an change of aliases in the given Schema.
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
ShapeSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Shape")
QuadrupoleKey MeasKey
Key type used to access the slot measurement.
bool isValid() const
Return true if the key associated with the measurement is valid.
geom::ellipses::Quadrupole MeasValue
Type returned by accessing the slot measurement.
ShapeSlotDefinition & operator=(ShapeSlotDefinition const &)=default
Eigen::Matrix< float, 3, 3 > ErrValue
Type returned by accessing the slot uncertainty.
~ShapeSlotDefinition()=default
ShapeSlotDefinition(ShapeSlotDefinition &&)=default
Base class for helper classes that define slots on SourceTable/SourceRecord.
std::string getName() const
Return the name of the slot (e.g. "Centroid" or "PsfFlux")
~SlotDefinition()=default
SlotDefinition & operator=(SlotDefinition &&)=default
SlotDefinition & operator=(SlotDefinition const &)=default
SlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Centroid" or "PsfFlux")
SlotDefinition(SlotDefinition &&)=default
std::string getAlias() const
Return the alias field prefix used to lookup Keys for the slot.
SlotDefinition(SlotDefinition const &)=default
A base class for image defects.
An aggregate containing all of the current slots used in SourceTable.
CentroidSlotDefinition defCentroid
FluxSlotDefinition defModelFlux
SlotSuite(Schema const &schema)
Initialize the slots.
FluxSlotDefinition defCalibFlux
FluxSlotDefinition defApFlux
FluxSlotDefinition defPsfFlux
ShapeSlotDefinition defShape
FluxSlotDefinition defGaussianFlux
void handleAliasChange(std::string const &alias, Schema const &schema)
Handle a callback from an AliasMap informing the table that an alias has changed.