LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
lsst::afw::table::SourceColumnViewT< RecordT > Class Template Reference

#include <fwd.h>

Inheritance diagram for lsst::afw::table::SourceColumnViewT< RecordT >:
lsst::afw::table::ColumnViewT< RecordT > lsst::afw::table::BaseColumnView

Public Types

typedef RecordT Record
 
typedef RecordT::Table Table
 
- Public Types inherited from lsst::afw::table::ColumnViewT< RecordT >
typedef RecordT Record
 
typedef RecordT::Table Table
 

Public Member Functions

ndarray::Array< double, 1 > getPsfFlux () const
 Get the value of the PsfFlux slot measurement. More...
 
ndarray::Array< double, 1 > getPsfFluxErr () const
 Get the uncertainty on the PsfFlux slot measurement. More...
 
ndarray::Array< double, 1 > getApFlux () const
 Get the value of the ApFlux slot measurement. More...
 
ndarray::Array< double, 1 > getApFluxErr () const
 Get the uncertainty on the ApFlux slot measurement. More...
 
ndarray::Array< double, 1 > getModelFlux () const
 Get the value of the ModelFlux slot measurement. More...
 
ndarray::Array< double, 1 > getModelFluxErr () const
 Get the uncertainty on the ModelFlux slot measurement. More...
 
ndarray::Array< double, 1 > getInstFlux () const
 Get the value of the InstFlux slot measurement. More...
 
ndarray::Array< double, 1 > getInstFluxErr () const
 Get the uncertainty on the InstFlux slot measurement. More...
 
ndarray::Array< double, 1 > getCalibFlux () const
 Get the value of the CalibFlux slot measurement. More...
 
ndarray::Array< double, 1 > getCalibFluxErr () const
 Get the uncertainty on the CalibFlux slot measurement. More...
 
ndarray::Array< double, 1 > const getX () const
 
ndarray::Array< double, 1 > const getY () const
 
ndarray::Array< double, 1 > const getIxx () const
 
ndarray::Array< double, 1 > const getIyy () const
 
ndarray::Array< double, 1 > const getIxy () const
 
- Public Member Functions inherited from lsst::afw::table::ColumnViewT< RecordT >
boost::shared_ptr< TablegetTable () const
 Return the table that owns the records. More...
 
- Public Member Functions inherited from lsst::afw::table::BaseColumnView
boost::shared_ptr< BaseTablegetTable () const
 Return the table that owns the records. More...
 
Schema getSchema () const
 Return the schema that defines the fields. More...
 
template<typename T >
ndarray::ArrayRef< T, 1 > const operator[] (Key< T > const &key) const
 Return a 1-d array corresponding to a scalar field (or subfield). More...
 
template<typename T >
ndarray::ArrayRef< T, 2, 1 > const operator[] (Key< Array< T > > const &key) const
 Return a 2-d array corresponding to an array field. More...
 
ndarray::result_of::vectorize
< detail::FlagExtractor,
ndarray::Array< Field< Flag >
::Element const, 1 > >::type 
operator[] (Key< Flag > const &key) const
 Return a 1-d array expression corresponding to a flag bit. More...
 
BitsColumn getBits (std::vector< Key< Flag > > const &keys) const
 Return an integer array with the given Flag fields repacked into individual bits. More...
 
BitsColumn getAllBits () const
 Return an integer array with all Flag fields repacked into individual bits. More...
 
 ~BaseColumnView ()
 

Static Public Member Functions

template<typename InputIterator >
static SourceColumnViewT make (boost::shared_ptr< Table > const &table, InputIterator first, InputIterator last)
 Construct a BaseColumnView from an iterator range. More...
 
- Static Public Member Functions inherited from lsst::afw::table::ColumnViewT< RecordT >
template<typename InputIterator >
static ColumnViewT make (boost::shared_ptr< Table > const &table, InputIterator first, InputIterator last)
 Construct a BaseColumnView from an iterator range. More...
 
- Static Public Member Functions inherited from lsst::afw::table::BaseColumnView
template<typename InputIterator >
static BaseColumnView make (boost::shared_ptr< BaseTable > const &table, InputIterator first, InputIterator last)
 Construct a BaseColumnView from an iterator range. More...
 
template<typename InputIterator >
static bool isRangeContiguous (boost::shared_ptr< BaseTable > const &table, InputIterator first, InputIterator last)
 Return true if the given record iterator range is continuous and the records all belong to the given table. More...
 

Protected Member Functions

 SourceColumnViewT (BaseColumnView const &base)
 
- Protected Member Functions inherited from lsst::afw::table::ColumnViewT< RecordT >
 ColumnViewT (BaseColumnView const &base)
 
- Protected Member Functions inherited from lsst::afw::table::BaseColumnView
 BaseColumnView (boost::shared_ptr< BaseTable > const &table, int recordCount, void *buf, ndarray::Manager::Ptr const &manager)
 

Detailed Description

template<typename RecordT>
class lsst::afw::table::SourceColumnViewT< RecordT >

Definition at line 56 of file fwd.h.

Member Typedef Documentation

template<typename RecordT >
typedef RecordT lsst::afw::table::SourceColumnViewT< RecordT >::Record

Definition at line 760 of file Source.h.

template<typename RecordT >
typedef RecordT::Table lsst::afw::table::SourceColumnViewT< RecordT >::Table

Definition at line 761 of file Source.h.

Constructor & Destructor Documentation

template<typename RecordT >
lsst::afw::table::SourceColumnViewT< RecordT >::SourceColumnViewT ( BaseColumnView const &  base)
inlineexplicitprotected

Definition at line 836 of file Source.h.

836 : ColumnViewT<RecordT>(base) {}

Member Function Documentation

template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getApFlux ( ) const
inline

Get the value of the ApFlux slot measurement.

Definition at line 776 of file Source.h.

776  {
777  return this->operator[](this->getTable()->getApFluxSlot().getMeasKey());
778  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getApFluxErr ( ) const
inline

Get the uncertainty on the ApFlux slot measurement.

Definition at line 780 of file Source.h.

780  {
781  return this->operator[](this->getTable()->getApFluxSlot().getErrKey());
782  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getCalibFlux ( ) const
inline

Get the value of the CalibFlux slot measurement.

Definition at line 803 of file Source.h.

803  {
804  return this->operator[](this->getTable()->getCalibFluxSlot().getMeasKey());
805  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getCalibFluxErr ( ) const
inline

Get the uncertainty on the CalibFlux slot measurement.

Definition at line 807 of file Source.h.

807  {
808  return this->operator[](this->getTable()->getCalibFluxSlot().getErrKey());
809  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getInstFlux ( ) const
inline

Get the value of the InstFlux slot measurement.

Definition at line 794 of file Source.h.

794  {
795  return this->operator[](this->getTable()->getInstFluxSlot().getMeasKey());
796  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getInstFluxErr ( ) const
inline

Get the uncertainty on the InstFlux slot measurement.

Definition at line 798 of file Source.h.

798  {
799  return this->operator[](this->getTable()->getInstFluxSlot().getErrKey());
800  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> const lsst::afw::table::SourceColumnViewT< RecordT >::getIxx ( ) const
inline

Definition at line 819 of file Source.h.

819  {
820  return this->operator[](this->getTable()->getShapeKey().getIxx());
821  }
ndarray::Array< double, 1 > const getIxx() const
Definition: Source.h:819
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> const lsst::afw::table::SourceColumnViewT< RecordT >::getIxy ( ) const
inline

Definition at line 825 of file Source.h.

825  {
826  return this->operator[](this->getTable()->getShapeKey().getIxy());
827  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::Array< double, 1 > const getIxy() const
Definition: Source.h:825
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> const lsst::afw::table::SourceColumnViewT< RecordT >::getIyy ( ) const
inline

Definition at line 822 of file Source.h.

822  {
823  return this->operator[](this->getTable()->getShapeKey().getIyy());
824  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
ndarray::Array< double, 1 > const getIyy() const
Definition: Source.h:822
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getModelFlux ( ) const
inline

Get the value of the ModelFlux slot measurement.

Definition at line 785 of file Source.h.

785  {
786  return this->operator[](this->getTable()->getModelFluxSlot().getMeasKey());
787  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getModelFluxErr ( ) const
inline

Get the uncertainty on the ModelFlux slot measurement.

Definition at line 789 of file Source.h.

789  {
790  return this->operator[](this->getTable()->getModelFluxSlot().getErrKey());
791  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getPsfFlux ( ) const
inline

Get the value of the PsfFlux slot measurement.

Definition at line 767 of file Source.h.

767  {
768  return this->operator[](this->getTable()->getPsfFluxSlot().getMeasKey());
769  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> lsst::afw::table::SourceColumnViewT< RecordT >::getPsfFluxErr ( ) const
inline

Get the uncertainty on the PsfFlux slot measurement.

Definition at line 771 of file Source.h.

771  {
772  return this->operator[](this->getTable()->getPsfFluxSlot().getErrKey());
773  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> const lsst::afw::table::SourceColumnViewT< RecordT >::getX ( ) const
inline

Definition at line 812 of file Source.h.

812  {
813  return this->operator[](this->getTable()->getCentroidKey().getX());
814  }
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::Array< double, 1 > const getX() const
Definition: Source.h:812
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
ndarray::Array<double,1> const lsst::afw::table::SourceColumnViewT< RecordT >::getY ( ) const
inline

Definition at line 815 of file Source.h.

815  {
816  return this->operator[](this->getTable()->getCentroidKey().getY());
817  }
ndarray::Array< double, 1 > const getY() const
Definition: Source.h:815
boost::shared_ptr< Table > getTable() const
Return the table that owns the records.
ndarray::ArrayRef< T, 1 > const operator[](Key< T > const &key) const
Return a 1-d array corresponding to a scalar field (or subfield).
template<typename RecordT >
template<typename InputIterator >
static SourceColumnViewT lsst::afw::table::SourceColumnViewT< RecordT >::make ( boost::shared_ptr< Table > const &  table,
InputIterator  first,
InputIterator  last 
)
inlinestatic

Construct a BaseColumnView from an iterator range.

The iterators must dereference to a reference or const reference to a record. If the record data is not contiguous in memory, throws lsst::pex::exceptions::RuntimeError.

Definition at line 831 of file Source.h.

831  {
832  return SourceColumnViewT(BaseColumnView::make(table, first, last));
833  }
SourceColumnViewT(BaseColumnView const &base)
Definition: Source.h:836
static BaseColumnView make(boost::shared_ptr< BaseTable > const &table, InputIterator first, InputIterator last)
Construct a BaseColumnView from an iterator range.

The documentation for this class was generated from the following files: