LSST Applications g063fba187b+fee0456c91,g0f08755f38+ea96e5a5a3,g1653933729+a8ce1bb630,g168dd56ebc+a8ce1bb630,g1a2382251a+90257ff92a,g20f6ffc8e0+ea96e5a5a3,g217e2c1bcf+937a289c59,g28da252d5a+daa7da44eb,g2bbee38e9b+253935c60e,g2bc492864f+253935c60e,g3156d2b45e+6e55a43351,g32e5bea42b+31359a2a7a,g347aa1857d+253935c60e,g35bb328faa+a8ce1bb630,g3a166c0a6a+253935c60e,g3b1af351f3+a8ce1bb630,g3e281a1b8c+c5dd892a6c,g414038480c+416496e02f,g41af890bb2+afe91b1188,g599934f4f4+0db33f7991,g7af13505b9+e36de7bce6,g80478fca09+da231ba887,g82479be7b0+a4516e59e3,g858d7b2824+ea96e5a5a3,g89c8672015+f4add4ffd5,g9125e01d80+a8ce1bb630,ga5288a1d22+bc6ab8dfbd,gb58c049af0+d64f4d3760,gc28159a63d+253935c60e,gcab2d0539d+3f2b72788c,gcf0d15dbbd+4ea9c45075,gda6a2b7d83+4ea9c45075,gdaeeff99f8+1711a396fd,ge79ae78c31+253935c60e,gef2f8181fd+3031e3cf99,gf0baf85859+c1f95f4921,gfa517265be+ea96e5a5a3,gfa999e8aa5+17cd334064,w.2024.50
LSST Data Management Base Package
|
Record class that contains measurements made on a single exposure. More...
#include <Source.h>
Public Types | |
using | Table = SourceTable |
using | ColumnView = SourceColumnViewT<SourceRecord> |
using | Catalog = SortedCatalogT<SourceRecord> |
using | ConstCatalog = SortedCatalogT<const SourceRecord> |
Public Member Functions | |
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 |
Protected Member Functions | |
virtual void | _assign (BaseRecord const &other) |
Called by assign() after transferring fields to allow subclass data members to be copied. | |
virtual void | _stream (std::ostream &os) const |
Called by operator<<. | |
Friends | |
class | SourceTable |
Record class that contains measurements made on a single exposure.
Sources provide four additions to SimpleRecord / SimpleRecord:
|
inline |
Constructor used by SourceTable.
While formally public, this constructor is conceptually and effectively protected, due to the (protected) ConstructionToken argument.
This is to allow make_shared to be used, as that cannot be used on a truly protected or private constructor.
Definition at line 94 of file Source.h.
|
delete |
|
delete |
|
default |
|
protectedvirtual |
Called by assign() after transferring fields to allow subclass data members to be copied.
Reimplemented from lsst::afw::table::BaseRecord.
Definition at line 392 of file Source.cc.
|
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 152 of file BaseRecord.cc.
|
inherited |
Copy all field values from other to this, requiring that they have equal schemas.
Definition at line 122 of file BaseRecord.cc.
|
inherited |
Copy field values from other to this, using a mapper.
Definition at line 130 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 151 of file BaseRecord.h.
|
inlineinherited |
Compute a calculated or aggregate field.
Definition at line 172 of file BaseRecord.h.
|
inline |
Return true if the measurement in the ApFlux slot failed.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 230 of file Simple.h.
|
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 93 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 111 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Convenience accessors for the keys in the minimal reference schema.
Definition at line 227 of file Simple.h.
|
inline |
Return the shape slot Ixx value.
Definition at line 595 of file Source.h.
|
inline |
Return the shape slot Ixy value.
Definition at line 597 of file Source.h.
|
inline |
Return the shape slot Iyy value.
Definition at line 596 of file Source.h.
|
inlineinherited |
Definition at line 200 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
Convenience accessors for the keys in the minimal source schema.
Definition at line 591 of file Source.h.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Return the Schema that holds this record's fields and keys.
Definition at line 80 of file BaseRecord.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 102 of file Source.h.
|
inline |
Return the centroid slot x coordinate.
Definition at line 593 of file Source.h.
|
inline |
Return the centroid slot y coordinate.
Definition at line 594 of file Source.h.
|
delete |
|
delete |
|
inlineinherited |
Definition at line 190 of file BaseRecord.h.
|
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 129 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 141 of file BaseRecord.h.
|
inlineinherited |
Definition at line 185 of file BaseRecord.h.
|
inlineinherited |
Set a calculated or aggregate field.
Definition at line 180 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 164 of file BaseRecord.h.
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
void lsst::afw::table::SourceRecord::updateCoord | ( | geom::SkyWcs const & | wcs, |
bool | include_covariance = true ) |
Update the coord field using the given Wcs and the field in the centroid slot.
Definition at line 368 of file Source.cc.
void lsst::afw::table::SourceRecord::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.
Definition at line 380 of file Source.cc.
|
friend |