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