|
lsst.afw
16.0-51-gb4b4a8566+2
|
Record class that contains measurements made on a single exposure. More...
#include <Source.h>
Public Types | |
| typedef SourceTable | Table |
| typedef SourceColumnViewT< SourceRecord > | ColumnView |
| typedef SortedCatalogT< SourceRecord > | Catalog |
| typedef SortedCatalogT< SourceRecord const > | ConstCatalog |
| typedef unsigned long | memId |
| typedef memId(* | memNewCallback) (const memId cid) |
| typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
| std::shared_ptr< Footprint > | getFootprint () const |
| void | setFootprint (std::shared_ptr< Footprint > const &footprint) |
| std::shared_ptr< SourceTable const > | getTable () const |
| FluxSlotDefinition::MeasValue | getPsfInstFlux () const |
| Get the value of the PsfFlux slot measurement. More... | |
| FluxSlotDefinition::ErrValue | getPsfInstFluxErr () const |
| Get the uncertainty on the PsfFlux slot measurement. More... | |
| bool | getPsfFluxFlag () const |
| Return true if the measurement in the PsfFlux slot failed. More... | |
| FluxSlotDefinition::MeasValue | getModelInstFlux () const |
| Get the value of the ModelFlux slot measurement. More... | |
| FluxSlotDefinition::ErrValue | getModelInstFluxErr () const |
| Get the uncertainty on the ModelFlux slot measurement. More... | |
| bool | getModelFluxFlag () const |
| Return true if the measurement in the ModelFlux slot failed. More... | |
| FluxSlotDefinition::MeasValue | getApInstFlux () const |
| Get the value of the ApFlux slot measurement. More... | |
| FluxSlotDefinition::ErrValue | getApInstFluxErr () const |
| Get the uncertainty on the ApFlux slot measurement. More... | |
| bool | getApFluxFlag () const |
| Return true if the measurement in the ApFlux slot failed. More... | |
| FluxSlotDefinition::MeasValue | getGaussianInstFlux () const |
| Get the value of the GaussianFlux slot measurement. More... | |
| FluxSlotDefinition::ErrValue | getGaussianInstFluxErr () const |
| Get the uncertainty on the GaussianFlux slot measurement. More... | |
| bool | getGaussianFluxFlag () const |
| Return true if the measurement in the GaussianFlux slot failed. More... | |
| FluxSlotDefinition::MeasValue | getCalibInstFlux () const |
| Get the value of the CalibFlux slot measurement. More... | |
| FluxSlotDefinition::ErrValue | getCalibInstFluxErr () const |
| Get the uncertainty on the CalibFlux slot measurement. More... | |
| bool | getCalibFluxFlag () const |
| Return true if the measurement in the CalibFlux slot failed. More... | |
| CentroidSlotDefinition::MeasValue | getCentroid () const |
| Get the value of the Centroid slot measurement. More... | |
| CentroidSlotDefinition::ErrValue | getCentroidErr () const |
| Get the uncertainty on the Centroid slot measurement. More... | |
| bool | getCentroidFlag () const |
| Return true if the measurement in the Centroid slot failed. More... | |
| ShapeSlotDefinition::MeasValue | getShape () const |
| Get the value of the Shape slot measurement. More... | |
| ShapeSlotDefinition::ErrValue | getShapeErr () const |
| Get the uncertainty on the Shape slot measurement. More... | |
| bool | getShapeFlag () const |
| Return true if the measurement in the Shape slot failed. More... | |
| double | getX () const |
| Return the centroid slot x coordinate. More... | |
| double | getY () const |
| Return the centroid slot y coordinate. More... | |
| double | getIxx () const |
| Return the shape slot Ixx value. More... | |
| double | getIyy () const |
| Return the shape slot Iyy value. More... | |
| double | getIxy () const |
| Return the shape slot Ixy value. More... | |
| void | updateCoord (geom::SkyWcs const &wcs) |
| Update the coord field using the given Wcs and the field in the centroid slot. More... | |
| void | updateCoord (geom::SkyWcs const &wcs, PointKey< double > const &key) |
| Update the coord field using the given Wcs and the image center from the given key. More... | |
| SourceRecord (const SourceRecord &)=delete | |
| SourceRecord & | operator= (const SourceRecord &)=delete |
| SourceRecord (SourceRecord &&)=delete | |
| SourceRecord & | operator= (SourceRecord &&)=delete |
| ~SourceRecord () | |
| Schema | getSchema () const |
| Return the Schema that holds this record's fields and keys. More... | |
| template<typename T > | |
| Field< T >::Element * | getElement (Key< T > const &key) |
| Return a pointer to the underlying elements of a field (non-const). More... | |
| template<typename T > | |
| Field< T >::Element const * | getElement (Key< T > const &key) const |
| Return a pointer to the underlying elements of a field (const). More... | |
| template<typename T > | |
| Field< T >::Reference | operator[] (Key< T > const &key) |
| Return a reference (or reference-like type) to the field's value. More... | |
| 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. More... | |
| 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. More... | |
| template<typename T > | |
| T | get (OutputFunctorKey< T > const &key) const |
| Compute a calculated or aggregate field. More... | |
| template<typename T , typename U > | |
| void | set (Key< T > const &key, U const &value) |
| Set value of a field for the given key. More... | |
| template<typename T , typename U > | |
| void | set (InputFunctorKey< T > const &key, U const &value) |
| Set a calculated or aggregate field. More... | |
| void | assign (BaseRecord const &other) |
| Copy all field values from other to this, requiring that they have equal schemas. More... | |
| void | assign (BaseRecord const &other, SchemaMapper const &mapper) |
| Copy field values from other to this, using a mapper. More... | |
| ndarray::Manager::Ptr | getManager () const |
| std::string | repr () const |
| void | markPersistent (void) |
| RecordId | getParent () const |
| Convenience accessors for the keys in the minimal source schema. More... | |
| void | setParent (RecordId id) |
| Convenience accessors for the keys in the minimal source schema. More... | |
| RecordId | getId () const |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| void | setId (RecordId id) |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| lsst::geom::SpherePoint | getCoord () const |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| void | setCoord (lsst::geom::SpherePoint const &coord) |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| lsst::geom::Angle | getRa () const |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| void | setRa (lsst::geom::Angle ra) |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| lsst::geom::Angle | getDec () const |
| Convenience accessors for the keys in the minimal reference schema. More... | |
| void | setDec (lsst::geom::Angle dec) |
| Convenience accessors for the keys in the minimal reference schema. More... | |
Static Public Member Functions | |
| static bool | hasBeenCorrupted () |
| static memId | getNextMemId () |
| static int | init () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static memId | setNewCallbackId (memId id) |
| static memId | setNewCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memNewCallback | setNewCallback (memNewCallback func) |
| static memCallback | setDeleteCallback (memCallback func) |
| static memCallback | setCorruptionCallback (memCallback func) |
Public Attributes | |
| magicSentinel | |
Protected Member Functions | |
| SourceRecord (std::shared_ptr< SourceTable > const &table) | |
| virtual void | _assign (BaseRecord const &other) |
| Called by assign() after transferring fields to allow subclass data members to be copied. More... | |
| virtual void | _stream (std::ostream &os) const |
| Called by operator<<. More... | |
Friends | |
| class | SourceTable |
Record class that contains measurements made on a single exposure.
Sources provide four additions to SimpleRecord / SimpleRecord:
|
delete |
|
delete |
|
default |
|
explicitprotected |
|
protectedvirtual |
Called by assign() after transferring fields to allow subclass data members to be copied.
Reimplemented from lsst::afw::table::BaseRecord.
|
protectedvirtualinherited |
Called by operator<<.
Overrides should call the base class implementation and append additional fields on new lines, with the syntax "%(name)s: %(value)s".
Definition at line 95 of file BaseRecord.cc.
|
inherited |
Copy all field values from other to this, requiring that they have equal schemas.
Definition at line 74 of file BaseRecord.cc.
|
inherited |
Copy field values from other to this, using a mapper.
Definition at line 82 of file BaseRecord.cc.
|
inlineinherited |
Return the value of a field for the given key.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 125 of file BaseRecord.h.
|
inlineinherited |
Compute a calculated or aggregate field.
Definition at line 146 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a pointer to the underlying elements of a field (non-const).
This low-level access is intended mostly for use with serialization; users should generally prefer the safer get(), set() and operator[] member functions.
Definition at line 67 of file BaseRecord.h.
|
inlineinherited |
Return a pointer to the underlying elements of a field (const).
This low-level access is intended mostly for use with serialization; users should generally prefer the safer get(), set() and operator[] member functions.
Definition at line 85 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 174 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Return the Schema that holds this record's fields and keys.
Definition at line 54 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inlineinherited |
Return a reference (or reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and SpherePoint) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 103 of file BaseRecord.h.
|
inlineinherited |
Return a const reference (or const-reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and SpherePoint) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 115 of file BaseRecord.h.
|
inlineinherited |
Definition at line 159 of file BaseRecord.h.
|
inlineinherited |
Definition at line 164 of file BaseRecord.h.
|
inlineinherited |
Set value of a field for the given key.
This method has an additional template parameter because some fields accept and convert different types to the stored field type.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 138 of file BaseRecord.h.
|
inlineinherited |
Set a calculated or aggregate field.
Definition at line 154 of file BaseRecord.h.
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
| void lsst::afw::table::SourceRecord::updateCoord | ( | geom::SkyWcs const & | wcs | ) |
| void lsst::afw::table::SourceRecord::updateCoord | ( | geom::SkyWcs const & | wcs, |
| PointKey< double > const & | key | ||
| ) |
|
friend |
1.8.13