|
| SourceRecord (ConstructionToken const &token, detail::RecordData &&data) |
| Constructor used by SourceTable.
|
|
std::shared_ptr< Footprint > | getFootprint () const |
|
void | setFootprint (std::shared_ptr< Footprint > const &footprint) |
|
std::shared_ptr< SourceTable const > | getTable () const |
|
RecordId | getParent () const |
| Convenience accessors for the keys in the minimal source schema.
|
|
void | setParent (RecordId id) |
|
FluxSlotDefinition::MeasValue | getPsfInstFlux () const |
| Get the value of the PsfFlux slot measurement.
|
|
FluxSlotDefinition::ErrValue | getPsfInstFluxErr () const |
| Get the uncertainty on the PsfFlux slot measurement.
|
|
bool | getPsfFluxFlag () const |
| Return true if the measurement in the PsfFlux slot failed.
|
|
FluxSlotDefinition::MeasValue | getModelInstFlux () const |
| Get the value of the ModelFlux slot measurement.
|
|
FluxSlotDefinition::ErrValue | getModelInstFluxErr () const |
| Get the uncertainty on the ModelFlux slot measurement.
|
|
bool | getModelFluxFlag () const |
| Return true if the measurement in the ModelFlux slot failed.
|
|
FluxSlotDefinition::MeasValue | getApInstFlux () const |
| Get the value of the ApFlux slot measurement.
|
|
FluxSlotDefinition::ErrValue | getApInstFluxErr () const |
| Get the uncertainty on the ApFlux slot measurement.
|
|
bool | getApFluxFlag () const |
| Return true if the measurement in the ApFlux slot failed.
|
|
FluxSlotDefinition::MeasValue | getGaussianInstFlux () const |
| Get the value of the GaussianFlux slot measurement.
|
|
FluxSlotDefinition::ErrValue | getGaussianInstFluxErr () const |
| Get the uncertainty on the GaussianFlux slot measurement.
|
|
bool | getGaussianFluxFlag () const |
| Return true if the measurement in the GaussianFlux slot failed.
|
|
FluxSlotDefinition::MeasValue | getCalibInstFlux () const |
| Get the value of the CalibFlux slot measurement.
|
|
FluxSlotDefinition::ErrValue | getCalibInstFluxErr () const |
| Get the uncertainty on the CalibFlux slot measurement.
|
|
bool | getCalibFluxFlag () const |
| Return true if the measurement in the CalibFlux slot failed.
|
|
CentroidSlotDefinition::MeasValue | getCentroid () const |
| Get the value of the Centroid slot measurement.
|
|
CentroidSlotDefinition::ErrValue | getCentroidErr () const |
| Get the uncertainty on the Centroid slot measurement.
|
|
bool | getCentroidFlag () const |
| Return true if the measurement in the Centroid slot failed.
|
|
ShapeSlotDefinition::MeasValue | getShape () const |
| Get the value of the Shape slot measurement.
|
|
ShapeSlotDefinition::ErrValue | getShapeErr () const |
| Get the uncertainty on the Shape slot measurement.
|
|
bool | getShapeFlag () const |
| Return true if the measurement in the Shape slot failed.
|
|
double | getX () const |
| Return the centroid slot x coordinate.
|
|
double | getY () const |
| Return the centroid slot y coordinate.
|
|
double | getIxx () const |
| Return the shape slot Ixx value.
|
|
double | getIyy () const |
| Return the shape slot Iyy value.
|
|
double | getIxy () const |
| Return the shape slot Ixy value.
|
|
void | updateCoord (geom::SkyWcs const &wcs, bool include_covariance=true) |
| Update the coord field using the given Wcs and the field in the centroid slot.
|
|
void | updateCoord (geom::SkyWcs const &wcs, PointKey< double > const &key, bool include_covariance=true) |
| Update the coord field using the given Wcs and the image center from the given key.
|
|
| SourceRecord (const SourceRecord &)=delete |
|
SourceRecord & | operator= (const SourceRecord &)=delete |
|
| SourceRecord (SourceRecord &&)=delete |
|
SourceRecord & | operator= (SourceRecord &&)=delete |
|
| ~SourceRecord () |
|
RecordId | getId () const |
| Convenience accessors for the keys in the minimal reference schema.
|
|
void | setId (RecordId id) |
|
lsst::geom::SpherePoint | getCoord () const |
|
void | setCoord (lsst::geom::SpherePoint const &coord) |
|
lsst::geom::Angle | getRa () const |
|
void | setRa (lsst::geom::Angle ra) |
|
lsst::geom::Angle | getDec () const |
|
void | setDec (lsst::geom::Angle dec) |
|
Schema | getSchema () const |
| Return the Schema that holds this record's fields and keys.
|
|
template<typename T > |
Field< T >::Element * | getElement (Key< T > const &key) |
| Return a pointer to the underlying elements of a field (non-const).
|
|
template<typename T > |
Field< T >::Element const * | getElement (Key< T > const &key) const |
| Return a pointer to the underlying elements of a field (const).
|
|
template<typename T > |
Field< T >::Reference | operator[] (Key< T > const &key) |
| Return a reference (or reference-like type) to the field's value.
|
|
template<typename T > |
Field< T >::ConstReference | operator[] (Key< T > const &key) const |
| Return a const reference (or const-reference-like type) to the field's value.
|
|
template<typename Ref > |
Ref | operator[] (ReferenceFunctorKey< Ref > const &key) |
|
template<typename ConstRef > |
ConstRef | operator[] (ConstReferenceFunctorKey< ConstRef > const &key) const |
|
template<typename T > |
Field< T >::Value | get (Key< T > const &key) const |
| Return the value of a field for the given key.
|
|
template<typename T > |
T | get (OutputFunctorKey< T > const &key) const |
| Compute a calculated or aggregate field.
|
|
template<typename T , typename U > |
void | set (Key< T > const &key, U const &value) |
| Set value of a field for the given key.
|
|
template<typename T , typename U > |
void | set (InputFunctorKey< T > const &key, U const &value) |
| Set a calculated or aggregate field.
|
|
void | assign (BaseRecord const &other) |
| Copy all field values from other to this, requiring that they have equal schemas.
|
|
void | assign (BaseRecord const &other, SchemaMapper const &mapper) |
| Copy field values from other to this, using a mapper.
|
|
ndarray::Manager::Ptr | getManager () const |
|
Record class that contains measurements made on a single exposure.
Sources provide four additions to SimpleRecord / SimpleRecord:
- Specific fields that must always be present, with specialized getters. The schema for a SourceTable should always be constructed by starting with the result of SourceTable::makeMinimalSchema.
- A shared_ptr to a Footprint for each record.
- A system of aliases (called slots) in which a SourceTable instance stores keys for particular measurements (a centroid, a shape, and a number of different fluxes) and SourceRecord uses this keys to provide custom getters and setters. These are not separate fields, but rather aliases that can point to custom fields. See the SlotDefinition hierarchy for more information.
Definition at line 78 of file Source.h.