|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Table class that contains measurement means on clusters of single exposure sources. More...
#include <SourceCluster.h>
Classes | |
| struct | FilterSlots |
Public Types | |
| typedef SourceClusterRecord | Record |
| typedef SourceClusterColumnViewT < SourceClusterRecord > | ColumnView |
| typedef lsst::afw::table::SortedCatalogT < Record > | Catalog |
| typedef lsst::afw::table::SortedCatalogT < Record const > | ConstCatalog |
Public Types inherited from lsst::afw::table::SimpleTable | |
| typedef SimpleRecord | Record |
| typedef ColumnViewT< SimpleRecord > | ColumnView |
| typedef SortedCatalogT< Record > | Catalog |
| typedef SortedCatalogT< Record const > | ConstCatalog |
Public Types inherited from lsst::afw::table::BaseTable | |
| typedef BaseRecord | Record |
| The associated record class. More... | |
| typedef BaseColumnView | ColumnView |
| The associated ColumnView class. More... | |
| typedef CatalogT< Record > | Catalog |
| Template of CatalogT used to hold records of the associated type. More... | |
| typedef CatalogT< Record const > | ConstCatalog |
| Template of CatalogT used to hold const records of the associated type. More... | |
Public Types inherited from lsst::daf::base::Citizen | |
| enum | { magicSentinel = 0xdeadbeef } |
| typedef unsigned long | memId |
| Type of the block's ID. More... | |
| typedef memId(* | memNewCallback )(const memId cid) |
| A function used to register a callback. More... | |
| typedef memId(* | memCallback )(const Citizen *ptr) |
Public Member Functions | |
| ~SourceClusterTable () | |
| boost::shared_ptr < SourceClusterTable > | clone () const |
| Return a polymorphic deep copy of the table. More... | |
| boost::shared_ptr < SourceClusterRecord > | makeRecord () |
| Default-construct an associated record. More... | |
| boost::shared_ptr < SourceClusterRecord > | copyRecord (lsst::afw::table::BaseRecord const &other) |
| Deep-copy a record, requiring that it have the same schema as this table. More... | |
| boost::shared_ptr < SourceClusterRecord > | copyRecord (lsst::afw::table::BaseRecord const &other, lsst::afw::table::SchemaMapper const &mapper) |
| Deep-copy a record, requiring that it have the same schema as this table. More... | |
| std::vector< std::string > const | getFilters () const |
| Get the lexicographically sorted list of filter names for which slots have been defined. More... | |
| void | defineCoordErr (lsst::afw::table::Key< lsst::afw::table::Covariance< lsst::afw::table::Point< float > > > const &key) |
| Convenience definers for filter-agnostic keys. More... | |
| void | defineCoordErr (std::string const &name) |
| Set the field used for the CoordErr slot using a name. More... | |
| std::string const | getCoordErrDefinition () const |
| Get the name of the field used for the CoordErr slot. More... | |
| lsst::afw::table::Key < lsst::afw::table::Covariance < lsst::afw::table::Point < float > > > const | getCoordErrKey () const |
| Get the key used for the CoordErr slot. More... | |
| void | defineWeightedMeanCoord (lsst::afw::table::Key< lsst::afw::coord::Coord > const &key) |
| Set the field used for the WeightedMeanCoord slot using keys. More... | |
| void | defineWeightedMeanCoord (std::string const &name) |
| Set the field used for the WeightedMeanCoord slot using a name. More... | |
| std::string const | getWeightedMeanCoordDefinition () const |
| Get the name of the field used for the WeightedMeanCoord slot. More... | |
| lsst::afw::table::Key < lsst::afw::coord::Coord > const | getWeightedMeanCoordKey () const |
| Get the key used for the WeightedMeanCoord slot. More... | |
| void | defineWeightedMeanCoordErr (lsst::afw::table::Key< lsst::afw::table::Covariance< lsst::afw::table::Point< float > > > const &key) |
| Set the field used for the WeightedMeanCoordErr slot using keys. More... | |
| void | defineWeightedMeanCoordErr (std::string const &name) |
| Set the field used for the WeightedMeanCoordErr slot using a name. More... | |
| std::string const | getWeightedMeanCoordErrDefinition () const |
| Get the name of the field used for the WeightedMeanCoordErr slot. More... | |
| lsst::afw::table::Key < lsst::afw::table::Covariance < lsst::afw::table::Point < float > > > const | getWeightedMeanCoordErrKey () const |
| Get the key used for the WeightedMeanCoordErr slot. More... | |
| void | defineWeightedMeanCoordCount (lsst::afw::table::Key< int > const &key) |
| Set the field used for the WeightedMeanCoordCount slot using keys. More... | |
| void | defineWeightedMeanCoordCount (std::string const &name) |
| Set the field used for the WeightedMeanCoordCount slot using a name. More... | |
| std::string const | getWeightedMeanCoordCountDefinition () const |
| Get the name of the field used for the WeightedMeanCoordCount slot. More... | |
| lsst::afw::table::Key< int > const | getWeightedMeanCoordCountKey () const |
| Get the key used for the WeightedMeanCoordCount slot. More... | |
| void | defineNumSources (lsst::afw::table::Key< int > const &key) |
| Set the field used for the NumSources slot using keys. More... | |
| void | defineNumSources (std::string const &name) |
| Set the field used for the NumSources slot using a name. More... | |
| std::string const | getNumSourcesDefinition () const |
| Get the name of the field used for the NumSources slot. More... | |
| lsst::afw::table::Key< int > const | getNumSourcesKey () const |
| Get the key used for the NumSources slot. More... | |
| void | defineTimeMin (lsst::afw::table::Key< double > const &key) |
| Set the field used for the TimeMin slot using keys. More... | |
| void | defineTimeMin (std::string const &name) |
| Set the field used for the TimeMin slot using a name. More... | |
| std::string const | getTimeMinDefinition () const |
| Get the name of the field used for the TimeMin slot. More... | |
| lsst::afw::table::Key< double > const | getTimeMinKey () const |
| Get the key used for the TimeMin slot. More... | |
| void | defineTimeMean (lsst::afw::table::Key< double > const &key) |
| Set the field used for the TimeMean slot using keys. More... | |
| void | defineTimeMean (std::string const &name) |
| Set the field used for the TimeMean slot using a name. More... | |
| std::string const | getTimeMeanDefinition () const |
| Get the name of the field used for the TimeMean slot. More... | |
| lsst::afw::table::Key< double > const | getTimeMeanKey () const |
| Get the key used for the TimeMean slot. More... | |
| void | defineTimeMax (lsst::afw::table::Key< double > const &key) |
| Set the field used for the TimeMax slot using keys. More... | |
| void | defineTimeMax (std::string const &name) |
| Set the field used for the TimeMax slot using a name. More... | |
| std::string const | getTimeMaxDefinition () const |
| Get the name of the field used for the TimeMax slot. More... | |
| lsst::afw::table::Key< double > const | getTimeMaxKey () const |
| Get the key used for the TimeMax slot. More... | |
| void | defineNumSources (std::string const &filter, lsst::afw::table::Key< int > const &key) |
| Convenience definers for filter-specific keys. More... | |
| void | defineNumSources (std::string const &filter, std::string const &name) |
| Set the NumSources slot in the given filter to the field named "<filter>.<name>". More... | |
| std::string const | getNumSourcesDefinition (std::string const &filter) const |
| Return the name of the field used for the NumSources slot in the given filter. More... | |
| lsst::afw::table::Key< int > const | getNumSourcesKey (std::string const &filter) const |
| Return the key used for the NumSources slot in the given filter. More... | |
| void | defineTimeMin (std::string const &filter, lsst::afw::table::Key< double > const &key) |
| Set the field used for the TimeMin slot in the given filter using a Key. More... | |
| void | defineTimeMin (std::string const &filter, std::string const &name) |
| Set the TimeMin slot in the given filter to the field named "<filter>.<name>". More... | |
| std::string const | getTimeMinDefinition (std::string const &filter) const |
| Return the name of the field used for the TimeMin slot in the given filter. More... | |
| lsst::afw::table::Key< double > const | getTimeMinKey (std::string const &filter) const |
| Return the key used for the TimeMin slot in the given filter. More... | |
| void | defineTimeMax (std::string const &filter, lsst::afw::table::Key< double > const &key) |
| Set the field used for the TimeMax slot in the given filter using a Key. More... | |
| void | defineTimeMax (std::string const &filter, std::string const &name) |
| Set the TimeMax slot in the given filter to the field named "<filter>.<name>". More... | |
| std::string const | getTimeMaxDefinition (std::string const &filter) const |
| Return the name of the field used for the TimeMax slot in the given filter. More... | |
| lsst::afw::table::Key< double > const | getTimeMaxKey (std::string const &filter) const |
| Return the key used for the TimeMax slot in the given filter. More... | |
| void | definePsfFlux (std::string const &filter, lsst::afw::table::Flux::MeasKey const &mean, lsst::afw::table::Flux::ErrKey const &err, lsst::afw::table::Key< int > const &count) |
| Set the fields used for the PsfFlux slot in the given filter using Keys. More... | |
| void | definePsfFlux (std::string const &filter, std::string const &name) |
| Set the fields used for the PsfFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count". More... | |
| std::string const | getPsfFluxDefinition (std::string const &filter) const |
| Return the name of the field used for the PsfFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::MeasKey const | getPsfFluxKey (std::string const &filter) const |
| Return the key used for the PsfFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::ErrKey const | getPsfFluxErrKey (std::string const &filter) const |
| Return the key used for PsfFlux slot error or covariance. More... | |
| lsst::afw::table::Key< int > const | getPsfFluxCountKey (std::string const &filter) const |
| Return the key used for the PsfFlux slot count. More... | |
| void | defineModelFlux (std::string const &filter, lsst::afw::table::Flux::MeasKey const &mean, lsst::afw::table::Flux::ErrKey const &err, lsst::afw::table::Key< int > const &count) |
| Set the fields used for the ModelFlux slot in the given filter using Keys. More... | |
| void | defineModelFlux (std::string const &filter, std::string const &name) |
| Set the fields used for the ModelFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count". More... | |
| std::string const | getModelFluxDefinition (std::string const &filter) const |
| Return the name of the field used for the ModelFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::MeasKey const | getModelFluxKey (std::string const &filter) const |
| Return the key used for the ModelFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::ErrKey const | getModelFluxErrKey (std::string const &filter) const |
| Return the key used for ModelFlux slot error or covariance. More... | |
| lsst::afw::table::Key< int > const | getModelFluxCountKey (std::string const &filter) const |
| Return the key used for the ModelFlux slot count. More... | |
| void | defineApFlux (std::string const &filter, lsst::afw::table::Flux::MeasKey const &mean, lsst::afw::table::Flux::ErrKey const &err, lsst::afw::table::Key< int > const &count) |
| Set the fields used for the ApFlux slot in the given filter using Keys. More... | |
| void | defineApFlux (std::string const &filter, std::string const &name) |
| Set the fields used for the ApFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count". More... | |
| std::string const | getApFluxDefinition (std::string const &filter) const |
| Return the name of the field used for the ApFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::MeasKey const | getApFluxKey (std::string const &filter) const |
| Return the key used for the ApFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::ErrKey const | getApFluxErrKey (std::string const &filter) const |
| Return the key used for ApFlux slot error or covariance. More... | |
| lsst::afw::table::Key< int > const | getApFluxCountKey (std::string const &filter) const |
| Return the key used for the ApFlux slot count. More... | |
| void | defineInstFlux (std::string const &filter, lsst::afw::table::Flux::MeasKey const &mean, lsst::afw::table::Flux::ErrKey const &err, lsst::afw::table::Key< int > const &count) |
| Set the fields used for the InstFlux slot in the given filter using Keys. More... | |
| void | defineInstFlux (std::string const &filter, std::string const &name) |
| Set the fields used for the InstFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count". More... | |
| std::string const | getInstFluxDefinition (std::string const &filter) const |
| Return the name of the field used for the InstFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::MeasKey const | getInstFluxKey (std::string const &filter) const |
| Return the key used for the InstFlux slot in the given filter. More... | |
| lsst::afw::table::Flux::ErrKey const | getInstFluxErrKey (std::string const &filter) const |
| Return the key used for InstFlux slot error or covariance. More... | |
| lsst::afw::table::Key< int > const | getInstFluxCountKey (std::string const &filter) const |
| Return the key used for the InstFlux slot count. More... | |
| void | defineShape (std::string const &filter, lsst::afw::table::Shape::MeasKey const &mean, lsst::afw::table::Shape::ErrKey const &err, lsst::afw::table::Key< int > const &count) |
| Set the fields used for the Shape slot in the given filter using Keys. More... | |
| void | defineShape (std::string const &filter, std::string const &name) |
| Set the fields used for the Shape slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count". More... | |
| std::string const | getShapeDefinition (std::string const &filter) const |
| Return the name of the field used for the Shape slot in the given filter. More... | |
| lsst::afw::table::Shape::MeasKey const | getShapeKey (std::string const &filter) const |
| Return the key used for the Shape slot in the given filter. More... | |
| lsst::afw::table::Shape::ErrKey const | getShapeErrKey (std::string const &filter) const |
| Return the key used for Shape slot error or covariance. More... | |
| lsst::afw::table::Key< int > const | getShapeCountKey (std::string const &filter) const |
| Return the key used for the Shape slot count. More... | |
Public Member Functions inherited from lsst::afw::table::SimpleTable | |
| boost::shared_ptr< IdFactory > | getIdFactory () |
| Return the object that generates IDs for the table (may be null). More... | |
| boost::shared_ptr< IdFactory const > | getIdFactory () const |
| Return the object that generates IDs for the table (may be null). More... | |
| void | setIdFactory (boost::shared_ptr< IdFactory > f) |
| Switch to a new IdFactory – object that generates IDs for the table (may be null). More... | |
| boost::shared_ptr< SimpleTable > | clone () const |
| Return a polymorphic deep copy of the table. More... | |
| boost::shared_ptr< SimpleRecord > | makeRecord () |
| Default-construct an associated record. More... | |
| boost::shared_ptr< SimpleRecord > | copyRecord (BaseRecord const &other) |
| Deep-copy a record, requiring that it have the same schema as this table. More... | |
| boost::shared_ptr< SimpleRecord > | copyRecord (BaseRecord const &other, SchemaMapper const &mapper) |
| Deep-copy a record, requiring that it have the same schema as this table. More... | |
Public Member Functions inherited from lsst::afw::table::BaseTable | |
| boost::shared_ptr < daf::base::PropertyList > | getMetadata () const |
| Return the flexible metadata associated with the table. May be null. More... | |
| void | setMetadata (boost::shared_ptr< daf::base::PropertyList > const &metadata) |
| Set the flexible metadata associated with the table. May be null. More... | |
| boost::shared_ptr < daf::base::PropertyList > | popMetadata () |
| Return the metadata and set the internal metadata to a null pointer. More... | |
| boost::shared_ptr< BaseTable > | clone () const |
| Return a polymorphic deep copy of the table. More... | |
| boost::shared_ptr< BaseRecord > | makeRecord () |
| Default-construct an associated record. More... | |
| boost::shared_ptr< BaseRecord > | copyRecord (BaseRecord const &input) |
| Deep-copy a record, requiring that it have the same schema as this table. More... | |
| boost::shared_ptr< BaseRecord > | copyRecord (BaseRecord const &input, SchemaMapper const &mapper) |
| Deep-copy a record, using a mapper to relate two schemas. More... | |
| int | getVersion () const |
| Return the table's version. More... | |
| Schema | getSchema () const |
| Return the table's schema. More... | |
| void | preallocate (std::size_t nRecords) |
| Allocate contiguous space for new records in advance. More... | |
| std::size_t | getBufferSize () const |
| Return the number of additional records space has been already been allocated for. More... | |
| virtual | ~BaseTable () |
Public Member Functions inherited from lsst::daf::base::Citizen | |
| Citizen (const std::type_info &) | |
| Citizen (Citizen const &) | |
| ~Citizen () | |
| Citizen & | operator= (Citizen const &) |
| std::string | repr () const |
| Return a string representation of a Citizen. More... | |
| void | markPersistent (void) |
| Mark a Citizen as persistent and not destroyed until process end. More... | |
| memId | getId () const |
| Return the Citizen's ID. More... | |
Static Public Member Functions | |
| static boost::shared_ptr < SourceClusterTable > | make (lsst::afw::table::Schema const &schema, boost::shared_ptr< lsst::afw::table::IdFactory > const &idFactory) |
| Construct a new table. More... | |
| static boost::shared_ptr < SourceClusterTable > | make (lsst::afw::table::Schema const &schema) |
| Construct a new table. More... | |
Static Public Member Functions inherited from lsst::afw::table::SimpleTable | |
| static boost::shared_ptr < SimpleTable > | make (Schema const &schema, boost::shared_ptr< IdFactory > const &idFactory) |
| Construct a new table. More... | |
| static boost::shared_ptr < SimpleTable > | make (Schema const &schema) |
| Construct a new table. More... | |
| static Schema | makeMinimalSchema () |
| Return a minimal schema for Simple tables and records. More... | |
| static bool | checkSchema (Schema const &other) |
| Return true if the given schema is a valid SimpleTable schema. More... | |
| static Key< RecordId > | getIdKey () |
| Key for the unique ID. More... | |
| static Key< Coord > | getCoordKey () |
| Key for the celestial coordinates. More... | |
Static Public Member Functions inherited from lsst::afw::table::BaseTable | |
| static boost::shared_ptr < BaseTable > | make (Schema const &schema) |
| Construct a new table. More... | |
Static Public Member Functions inherited from lsst::daf::base::Citizen | |
| static bool | hasBeenCorrupted () |
| Check all allocated blocks for corruption. More... | |
| static memId | getNextMemId () |
| Return the memId of the next object to be allocated. More... | |
| static int | init () |
| Called once when the memory system is being initialised. More... | |
| static int | census (int, memId startingMemId=0) |
| How many active Citizens are there? More... | |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| Print a list of all active Citizens to stream, sorted by ID. More... | |
| static const std::vector < const Citizen * > * | census () |
| Return a (newly allocated) std::vector of active Citizens sorted by ID. More... | |
| static memId | setNewCallbackId (memId id) |
| Call the NewCallback when block is allocated. More... | |
| static memId | setDeleteCallbackId (memId id) |
| Call the current DeleteCallback when block is deleted. More... | |
| static memNewCallback | setNewCallback (memNewCallback func) |
| Set the NewCallback function. More... | |
| static memCallback | setDeleteCallback (memCallback func) |
| Set the DeleteCallback function. More... | |
| static memCallback | setCorruptionCallback (memCallback func) |
| Set the CorruptionCallback function. More... | |
Protected Member Functions | |
| SourceClusterTable (lsst::afw::table::Schema const &schema, boost::shared_ptr< lsst::afw::table::IdFactory > const &idFactory) | |
| SourceClusterTable (SourceClusterTable const &other) | |
Protected Member Functions inherited from lsst::afw::table::SimpleTable | |
| SimpleTable (Schema const &schema, boost::shared_ptr< IdFactory > const &idFactory) | |
| SimpleTable (SimpleTable const &other) | |
Protected Member Functions inherited from lsst::afw::table::BaseTable | |
| template<typename Derived > | |
| boost::shared_ptr< Derived > | getSelf () |
| Convenience function for static-casting shared_from_this for use by derived classes. More... | |
| template<typename Derived > | |
| boost::shared_ptr< Derived const > | getSelf () const |
| Convenience function for static-casting shared_from_this for use by derived classes. More... | |
| virtual void | handleAliasChange (std::string const &alias) |
| virtual boost::shared_ptr < BaseTable > | _clone () const =0 |
| Clone implementation with noncovariant return types. More... | |
| virtual boost::shared_ptr < BaseRecord > | _makeRecord ()=0 |
| Default-construct an associated record (protected implementation). More... | |
| BaseTable (Schema const &schema) | |
| Construct from a schema. More... | |
| BaseTable (BaseTable const &other) | |
| Copy construct. More... | |
Private Types | |
| typedef std::tr1::unordered_map < std::string, FilterSlots > | FilterSlotsMap |
Private Member Functions | |
| virtual boost::shared_ptr < lsst::afw::table::io::FitsWriter > | makeFitsWriter (lsst::afw::table::io::FitsWriter::Fits *fits, int flags) const |
| FilterSlots const & | getFilterSlots (std::string const &filter) const |
Private Attributes | |
| lsst::afw::table::Key < lsst::afw::table::Covariance < lsst::afw::table::Point < float > > > | _keyCoordErr |
| lsst::afw::table::Key < lsst::afw::coord::Coord > | _keyWeightedMeanCoord |
| lsst::afw::table::Key < lsst::afw::table::Covariance < lsst::afw::table::Point < float > > > | _keyWeightedMeanCoordErr |
| lsst::afw::table::Key< int > | _keyWeightedMeanCoordCount |
| lsst::afw::table::Key< int > | _keyNumSources |
| lsst::afw::table::Key< double > | _keyTimeMin |
| lsst::afw::table::Key< double > | _keyTimeMean |
| lsst::afw::table::Key< double > | _keyTimeMax |
| FilterSlotsMap | _filterSlots |
Friends | |
| class | lsst::afw::table::io::FitsWriter |
Additional Inherited Members | |
Static Public Attributes inherited from lsst::afw::table::BaseTable | |
| static int | nRecordsPerBlock |
| Number of records in each memory block. More... | |
Table class that contains measurement means on clusters of single exposure sources.
Note that the minimal schema for a SourceClusterTable / SourceClusterRecord is identical to the minimal schema for an lsst::afw::table::SimpleTable / lsst::afw::table::SimpleRecord.
Definition at line 278 of file SourceCluster.h.
Definition at line 282 of file SourceCluster.h.
| typedef SourceClusterColumnViewT<SourceClusterRecord> lsst::ap::cluster::SourceClusterTable::ColumnView |
Definition at line 281 of file SourceCluster.h.
| typedef lsst::afw::table::SortedCatalogT<Record const> lsst::ap::cluster::SourceClusterTable::ConstCatalog |
Definition at line 283 of file SourceCluster.h.
|
private |
Definition at line 736 of file SourceCluster.h.
Definition at line 280 of file SourceCluster.h.
| lsst::ap::cluster::SourceClusterTable::~SourceClusterTable | ( | ) |
Definition at line 343 of file SourceCluster.cc.
|
protected |
Definition at line 315 of file SourceCluster.cc.
|
protected |
Definition at line 330 of file SourceCluster.cc.
|
inline |
Return a polymorphic deep copy of the table.
Derived classes should reimplement by static-casting the output of _clone to a pointer-to-derived to simulate covariant return types.
Cloning a table does not clone its associated records; the new table produced by clone() does not have any associated records.
Definition at line 314 of file SourceCluster.h.
|
inline |
Deep-copy a record, requiring that it have the same schema as this table.
Regardless of the type or associated table of the input record, the type of the output record will be the type associated with this table and the record instance will be associated with this table.
Allowing derived-class records to be constructed from base-class records could be considered a form of type-slicing, but because we already demand that all records be constructable from nothing but a table, this isn't anything new.
Derived classes should reimplement by static-casting the output of BaseTable::copyRecord to the appropriate BaseRecord subclass.
This is implemented using makeRecord and calling record.assign on the results; override those to change the behavior.
Definition at line 324 of file SourceCluster.h.
|
inline |
Deep-copy a record, requiring that it have the same schema as this table.
Regardless of the type or associated table of the input record, the type of the output record will be the type associated with this table and the record instance will be associated with this table.
Allowing derived-class records to be constructed from base-class records could be considered a form of type-slicing, but because we already demand that all records be constructable from nothing but a table, this isn't anything new.
Derived classes should reimplement by static-casting the output of BaseTable::copyRecord to the appropriate BaseRecord subclass.
This is implemented using makeRecord and calling record.assign on the results; override those to change the behavior.
Definition at line 330 of file SourceCluster.h.
|
inline |
Set the fields used for the ApFlux slot in the given filter using Keys.
Definition at line 615 of file SourceCluster.h.
|
inline |
Set the fields used for the ApFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count".
Definition at line 623 of file SourceCluster.h.
|
inline |
Convenience definers for filter-agnostic keys.
Set the field used for the CoordErr slot using keys.
Definition at line 340 of file SourceCluster.h.
|
inline |
Set the field used for the CoordErr slot using a name.
Definition at line 344 of file SourceCluster.h.
|
inline |
Set the fields used for the InstFlux slot in the given filter using Keys.
Definition at line 648 of file SourceCluster.h.
|
inline |
Set the fields used for the InstFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count".
Definition at line 656 of file SourceCluster.h.
|
inline |
Set the fields used for the ModelFlux slot in the given filter using Keys.
Definition at line 582 of file SourceCluster.h.
|
inline |
Set the fields used for the ModelFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count".
Definition at line 590 of file SourceCluster.h.
|
inline |
Set the field used for the NumSources slot using keys.
Definition at line 412 of file SourceCluster.h.
|
inline |
Set the field used for the NumSources slot using a name.
Definition at line 416 of file SourceCluster.h.
|
inline |
Convenience definers for filter-specific keys.
Set the field used for the NumSources slot in the given filter using a Key.
Definition at line 492 of file SourceCluster.h.
|
inline |
Set the NumSources slot in the given filter to the field named "<filter>.<name>".
Definition at line 497 of file SourceCluster.h.
|
inline |
Set the fields used for the PsfFlux slot in the given filter using Keys.
Definition at line 549 of file SourceCluster.h.
|
inline |
Set the fields used for the PsfFlux slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count".
Definition at line 557 of file SourceCluster.h.
|
inline |
Set the fields used for the Shape slot in the given filter using Keys.
Definition at line 681 of file SourceCluster.h.
|
inline |
Set the fields used for the Shape slot in the given filter to the fields named "<filter>.<name>", "<filter>.<name>.err", and "<filter>.<name>.count".
Definition at line 689 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMax slot using keys.
Definition at line 466 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMax slot using a name.
Definition at line 470 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMax slot in the given filter using a Key.
Definition at line 530 of file SourceCluster.h.
|
inline |
Set the TimeMax slot in the given filter to the field named "<filter>.<name>".
Definition at line 535 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMean slot using keys.
Definition at line 448 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMean slot using a name.
Definition at line 452 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMin slot using keys.
Definition at line 430 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMin slot using a name.
Definition at line 434 of file SourceCluster.h.
|
inline |
Set the field used for the TimeMin slot in the given filter using a Key.
Definition at line 511 of file SourceCluster.h.
|
inline |
Set the TimeMin slot in the given filter to the field named "<filter>.<name>".
Definition at line 516 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoord slot using keys.
Definition at line 358 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoord slot using a name.
Definition at line 362 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoordCount slot using keys.
Definition at line 394 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoordCount slot using a name.
Definition at line 398 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoordErr slot using keys.
Definition at line 376 of file SourceCluster.h.
|
inline |
Set the field used for the WeightedMeanCoordErr slot using a name.
Definition at line 380 of file SourceCluster.h.
|
inline |
Return the key used for the ApFlux slot count.
Definition at line 643 of file SourceCluster.h.
|
inline |
Return the name of the field used for the ApFlux slot in the given filter.
Definition at line 631 of file SourceCluster.h.
|
inline |
Return the key used for ApFlux slot error or covariance.
Definition at line 639 of file SourceCluster.h.
|
inline |
Return the key used for the ApFlux slot in the given filter.
Definition at line 635 of file SourceCluster.h.
|
inline |
Get the name of the field used for the CoordErr slot.
Definition at line 349 of file SourceCluster.h.
|
inline |
Get the key used for the CoordErr slot.
Definition at line 353 of file SourceCluster.h.
| std::vector< std::string > const lsst::ap::cluster::SourceClusterTable::getFilters | ( | ) | const |
Get the lexicographically sorted list of filter names for which slots have been defined.
Definition at line 345 of file SourceCluster.cc.
|
private |
Definition at line 361 of file SourceCluster.cc.
|
inline |
Return the key used for the InstFlux slot count.
Definition at line 676 of file SourceCluster.h.
|
inline |
Return the name of the field used for the InstFlux slot in the given filter.
Definition at line 664 of file SourceCluster.h.
|
inline |
Return the key used for InstFlux slot error or covariance.
Definition at line 672 of file SourceCluster.h.
|
inline |
Return the key used for the InstFlux slot in the given filter.
Definition at line 668 of file SourceCluster.h.
|
inline |
Return the key used for the ModelFlux slot count.
Definition at line 610 of file SourceCluster.h.
|
inline |
Return the name of the field used for the ModelFlux slot in the given filter.
Definition at line 598 of file SourceCluster.h.
|
inline |
Return the key used for ModelFlux slot error or covariance.
Definition at line 606 of file SourceCluster.h.
|
inline |
Return the key used for the ModelFlux slot in the given filter.
Definition at line 602 of file SourceCluster.h.
|
inline |
Get the name of the field used for the NumSources slot.
Definition at line 421 of file SourceCluster.h.
|
inline |
Return the name of the field used for the NumSources slot in the given filter.
Definition at line 502 of file SourceCluster.h.
|
inline |
Get the key used for the NumSources slot.
Definition at line 425 of file SourceCluster.h.
|
inline |
Return the key used for the NumSources slot in the given filter.
Definition at line 506 of file SourceCluster.h.
|
inline |
Return the key used for the PsfFlux slot count.
Definition at line 577 of file SourceCluster.h.
|
inline |
Return the name of the field used for the PsfFlux slot in the given filter.
Definition at line 565 of file SourceCluster.h.
|
inline |
Return the key used for PsfFlux slot error or covariance.
Definition at line 573 of file SourceCluster.h.
|
inline |
Return the key used for the PsfFlux slot in the given filter.
Definition at line 569 of file SourceCluster.h.
|
inline |
Return the key used for the Shape slot count.
Definition at line 709 of file SourceCluster.h.
|
inline |
Return the name of the field used for the Shape slot in the given filter.
Definition at line 697 of file SourceCluster.h.
|
inline |
Return the key used for Shape slot error or covariance.
Definition at line 705 of file SourceCluster.h.
|
inline |
Return the key used for the Shape slot in the given filter.
Definition at line 701 of file SourceCluster.h.
|
inline |
Get the name of the field used for the TimeMax slot.
Definition at line 475 of file SourceCluster.h.
|
inline |
Return the name of the field used for the TimeMax slot in the given filter.
Definition at line 540 of file SourceCluster.h.
|
inline |
Get the key used for the TimeMax slot.
Definition at line 479 of file SourceCluster.h.
|
inline |
Return the key used for the TimeMax slot in the given filter.
Definition at line 544 of file SourceCluster.h.
|
inline |
Get the name of the field used for the TimeMean slot.
Definition at line 457 of file SourceCluster.h.
|
inline |
Get the key used for the TimeMean slot.
Definition at line 461 of file SourceCluster.h.
|
inline |
Get the name of the field used for the TimeMin slot.
Definition at line 439 of file SourceCluster.h.
|
inline |
Return the name of the field used for the TimeMin slot in the given filter.
Definition at line 521 of file SourceCluster.h.
|
inline |
Get the key used for the TimeMin slot.
Definition at line 443 of file SourceCluster.h.
|
inline |
Return the key used for the TimeMin slot in the given filter.
Definition at line 525 of file SourceCluster.h.
|
inline |
Get the name of the field used for the WeightedMeanCoordCount slot.
Definition at line 403 of file SourceCluster.h.
|
inline |
Get the key used for the WeightedMeanCoordCount slot.
Definition at line 407 of file SourceCluster.h.
|
inline |
Get the name of the field used for the WeightedMeanCoord slot.
Definition at line 367 of file SourceCluster.h.
|
inline |
Get the name of the field used for the WeightedMeanCoordErr slot.
Definition at line 385 of file SourceCluster.h.
|
inline |
Get the key used for the WeightedMeanCoordErr slot.
Definition at line 389 of file SourceCluster.h.
|
inline |
Get the key used for the WeightedMeanCoord slot.
Definition at line 371 of file SourceCluster.h.
|
static |
Construct a new table.
| [in] | schema | Schema that defines the fields, offsets, and record size for the table. |
| [in] | idFactory | Factory class to generate record IDs when they are not explicitly given. If null, record IDs will default to zero. |
Note that not passing an lsst::afw::table::IdFactory at all will call the other override of make(), which will set the ID factory to lsst::afw::table::IdFactory::makeSimple().
Definition at line 303 of file SourceCluster.cc.
|
inlinestatic |
Construct a new table.
| [in] | schema | Schema that defines the fields, offsets, and record size for the table. |
The ID factory will be set to lsst::afw::table::IdFactory::makeSimple().
Definition at line 307 of file SourceCluster.h.
|
privatevirtual |
Reimplemented from lsst::afw::table::SimpleTable.
Definition at line 355 of file SourceCluster.cc.
|
inline |
Default-construct an associated record.
Derived classes should reimplement by static-casting the output of _makeRecord to the appropriate BaseRecord subclass to simulate covariant return types.
Definition at line 319 of file SourceCluster.h.
|
friend |
Definition at line 755 of file SourceCluster.h.
|
private |
Definition at line 753 of file SourceCluster.h.
|
private |
Definition at line 744 of file SourceCluster.h.
|
private |
Definition at line 748 of file SourceCluster.h.
|
private |
Definition at line 751 of file SourceCluster.h.
|
private |
Definition at line 750 of file SourceCluster.h.
|
private |
Definition at line 749 of file SourceCluster.h.
|
private |
Definition at line 745 of file SourceCluster.h.
|
private |
Definition at line 747 of file SourceCluster.h.
|
private |
Definition at line 746 of file SourceCluster.h.
1.8.5