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
bool isValid() const
Return true if the key was initialized to valid offset.
An ellipse core with quadrupole moments as parameters.
Defines the fields and offsets for a table.
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.
table::Key< std::string > name
Key< double > ErrKey
Key type used to access the slot uncertainty.
QuadrupoleKey MeasKey
Key type used to access the slot measurement.
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
std::string getName() const
Return the name of the slot (e.g. "Centroid" or "PsfFlux")
FluxSlotDefinition defCalibFlux
afw::table::Schema schema
SlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Centroid" or "PsfFlux") ...
bool isValid() const
Return True if all the constituent Keys are valid.
FluxSlotDefinition defPsfFlux
CentroidSlotDefinition defCentroid
void setKeys(std::string const &alias, Schema const &schema)
CovarianceMatrixKey< float, 3 > ErrKey
Key type used to access the slot uncertainty.
bool isValid() const
Return True if both the x and y Keys are valid.
CovarianceMatrixKey< float, 2 > ErrKey
Key type used to access the slot uncertainty.
bool isValid() const
Return true if the key associated with the measurement is 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.
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
ShapeSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "Shape")
Key< double > MeasKey
Key type used to access the slot measurement.
ShapeSlotDefinition defShape
Eigen::Matrix< float, 3, 3 > ErrValue
Type returned by accessing the slot uncertainty.
FluxSlotDefinition defModelFlux
Key< Flag > getFlagKey() const
Return the cached Key used to access the slot failure flag.
geom::ellipses::Quadrupole MeasValue
Type returned by accessing the slot measurement.
std::string getAlias() const
FluxSlotDefinition(std::string const &name)
Construct a SlotDefinition from the name of the slot (e.g. "PsfFlux")
FluxSlotDefinition defInstFlux
SlotSuite(Schema const &schema)
Initialize the slots.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
MeasKey getMeasKey() const
Return the cached Key used to access the slot measurement.
bool isValid() const
Return true if the key associated with the measurement is valid.
Key specialization for Flag.
Class for storing generic metadata.
SlotDefinition specialization for centroids.
void setKeys(std::string const &alias, Schema const &schema)
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")
geom::Point2D MeasValue
Type returned by accessing the slot measurement.
void setKeys(std::string const &alias, Schema const &schema)
double ErrValue
Type returned by accessing the slot uncertainty.
SlotDefinition specialization for shapes.
A FunctorKey used to get or set a geom::ellipses::Quadrupole from a tuple of constituent Keys...
ErrKey getErrKey() const
Return the cached Key used to access the slot uncertainty.
double MeasValue
Type returned by accessing the slot measurement.
SlotDefinition specialization for fluxes.
FluxSlotDefinition defApFlux
void handleAliasChange(std::string const &alias, Schema const &schema)
Handle a callback from an AliasMap informing the table that an alias has changed. ...