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 represents a peak in a Footprint. More...
#include <Peak.h>
Public Types | |
using | Table = PeakTable |
using | ColumnView = afw::table::ColumnViewT<PeakRecord> |
using | Catalog = afw::table::CatalogT<PeakRecord> |
using | ConstCatalog = afw::table::CatalogT<const PeakRecord> |
Public Member Functions | |
PeakRecord (ConstructionToken const &token, table::detail::RecordData &&data) | |
Constructor used by PeakTable. | |
~PeakRecord () override=default | |
PeakRecord (PeakRecord const &)=delete | |
PeakRecord (PeakRecord &&)=delete | |
PeakRecord & | operator= (PeakRecord const &)=delete |
PeakRecord & | operator= (PeakRecord &&)=delete |
std::shared_ptr< PeakTable const > | getTable () const |
afw::table::RecordId | getId () const |
Convenience accessors for the keys in the minimal schema. | |
void | setId (afw::table::RecordId id) |
int | getIx () const |
int | getIy () const |
void | setIx (int ix) |
void | setIy (int iy) |
lsst::geom::Point2I | getI () const |
lsst::geom::Point2I | getCentroid (bool) const |
float | getFx () const |
float | getFy () const |
void | setFx (float fx) |
void | setFy (float fy) |
lsst::geom::Point2D | getF () const |
lsst::geom::Point2D | getCentroid () const |
float | getPeakValue () const |
void | setPeakValue (float peakValue) |
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 | PeakTable |
|
inline |
Constructor used by PeakTable.
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 58 of file Peak.h.
|
overridedefault |
|
delete |
|
delete |
|
inlineprotectedvirtualinherited |
Called by assign() after transferring fields to allow subclass data members to be copied.
Reimplemented in lsst::afw::table::SourceRecord, and lsst::afw::table::ExposureRecord.
Definition at line 209 of file BaseRecord.h.
|
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 |
|
inline |
|
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 |
Definition at line 235 of file Peak.h.
|
inline |
Definition at line 236 of file Peak.h.
|
inline |
|
inline |
Convenience accessors for the keys in the minimal schema.
Definition at line 227 of file Peak.h.
|
inline |
Definition at line 230 of file Peak.h.
|
inline |
Definition at line 231 of file Peak.h.
|
inlineinherited |
Definition at line 200 of file BaseRecord.h.
|
inline |
Definition at line 240 of file Peak.h.
|
inlineinherited |
Return the Schema that holds this record's fields and keys.
Definition at line 80 of file BaseRecord.h.
|
inline |
Definition at line 68 of file Peak.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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |