LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
Namespaces | |
namespace | _aggregates |
namespace | _aliasMap |
namespace | _arrays |
namespace | _base |
namespace | _baseColumnView |
namespace | _exposure |
namespace | _match |
namespace | _schema |
namespace | _schemaMapper |
namespace | _simple |
namespace | _source |
namespace | catalogMatches |
namespace | detail |
namespace | io |
namespace | multiMatch |
namespace | python |
namespace | testUtils |
Classes | |
class | AliasMap |
Mapping class that holds aliases for a Schema. More... | |
class | Array |
Tag types used to declare specialized field types. More... | |
class | ArrayKey |
A FunctorKey used to get or set a ndarray::Array from a sequence of scalar Keys. More... | |
class | BaseColumnView |
Column-wise view into a sequence of records that have been allocated contiguously. More... | |
class | BaseRecord |
Base class for all records. More... | |
class | BaseTable |
Base class for all tables. More... | |
class | BitsColumn |
A packed representation of a collection of Flag field columns. More... | |
class | BoxKey |
A FunctorKey used to get or set a lsst::geom::Box2I or Box2D from a (min, max) pair of Point3Keys. More... | |
class | CatalogIterator |
Iterator class for CatalogT. More... | |
class | CatalogT |
A custom container class for records, based on std::vector. More... | |
class | CentroidSlotDefinition |
SlotDefinition specialization for centroids. More... | |
class | ColumnViewT |
class | ConstReferenceFunctorKey |
Base class for objects that can return a const reference to part of a record, but are not a true Key. More... | |
class | CoordErrKey |
class | CoordKey |
A FunctorKey used to get or set celestial coordinates from a pair of lsst::geom::Angle keys. More... | |
class | CovarianceMatrixKey |
class | EllipseKey |
A FunctorKey used to get or set a geom::ellipses::Ellipse from an (xx,yy,xy,x,y) tuple of Keys. More... | |
class | ExposureCatalogT |
Custom catalog class for ExposureRecord/Table. More... | |
class | ExposureRecord |
Record class used to store exposure metadata. More... | |
class | ExposureTable |
Table class used to store exposure metadata. More... | |
struct | Field |
A description of a field in a table. More... | |
struct | FieldBase |
Field base class default implementation (used for numeric scalars and lsst::geom::Angle). More... | |
struct | FieldBase< Array< U > > |
Field base class specialization for arrays. More... | |
struct | FieldBase< Flag > |
Specialization for Flag fields. More... | |
struct | FieldBase< std::string > |
Field base class specialization for strings. More... | |
class | FluxSlotDefinition |
SlotDefinition specialization for fluxes. More... | |
class | FunctorKey |
Convenience base class that combines the OutputFunctorKey and InputFunctorKey. More... | |
class | IdFactory |
A polymorphic functor base class for generating record IDs for a table. More... | |
class | InputFunctorKey |
Base class for objects that can set a value on a record, but are not a true Key themselves. More... | |
class | Key |
A class used as a handle to a particular field in a table. More... | |
class | Key< Flag > |
Key specialization for Flag. More... | |
class | KeyBase |
A base class for Key that allows subfield keys to be extracted for some field types. More... | |
class | KeyBase< Array< U > > |
KeyBase specialization for Arrays. More... | |
class | KeyBase< Flag > |
A base class for Key that allows the underlying storage field to be extracted. More... | |
struct | Match |
Lightweight representation of a geometric match between two records. More... | |
class | MatchControl |
Pass parameters to algorithms that match list of sources. More... | |
class | OutputFunctorKey |
Base class for objects that can extract a value from a record, but are not a true Key themselves. More... | |
class | PersistableObjectColumnReader |
class | Point3Key |
A FunctorKey used to get or set a lsst::geom::Point3 from an (x,y,z) tuple of int or double Keys. More... | |
class | PointKey |
A FunctorKey used to get or set a lsst::geom::Point from an (x,y) pair of int or double Keys. More... | |
class | QuadrupoleKey |
A FunctorKey used to get or set a geom::ellipses::Quadrupole from a tuple of constituent Keys. More... | |
class | ReferenceFunctorKey |
Base class for objects that can return a non-const reference to part of a record, but are not a true Key. More... | |
class | Schema |
Defines the fields and offsets for a table. More... | |
struct | SchemaItem |
A simple pair-like struct for mapping a Field (name and description) with a Key (used for actual data access). More... | |
class | SchemaMapper |
A mapping between the keys of two Schemas, used to copy data between them. More... | |
class | ShapeSlotDefinition |
SlotDefinition specialization for shapes. More... | |
class | SimpleRecord |
Record class that must contain a unique ID field and a celestial coordinate field. More... | |
class | SimpleTable |
Table class that must contain a unique ID field and a celestial coordinate field. More... | |
class | SlotDefinition |
Base class for helper classes that define slots on SourceTable/SourceRecord. More... | |
struct | SlotSuite |
An aggregate containing all of the current slots used in SourceTable. More... | |
class | SortedCatalogT |
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID. More... | |
class | SourceColumnViewT |
class | SourceRecord |
Record class that contains measurements made on a single exposure. More... | |
class | SourceTable |
Table class that contains measurements made on a single exposure. More... | |
class | SubSchema |
A proxy type for name lookups in a Schema. More... | |
struct | TypeList |
Enumerations | |
enum class | CoordinateType { PIXEL , CELESTIAL } |
Enum used to set units for geometric FunctorKeys. More... | |
enum | SourceFitsFlags { SOURCE_IO_NO_FOOTPRINTS = 0x1 , SOURCE_IO_NO_HEAVY_FOOTPRINTS = 0x2 } |
Bitflags to be passed to SourceCatalog::readFits and SourceCatalog::writeFits. More... | |
Variables | |
_ | |
Definition at line 284 of file aggregates.h.
Definition at line 283 of file aggregates.h.
typedef ExposureCatalogT< const ExposureRecord > lsst::afw::table::ConstExposureCatalog = ExposureCatalogT<const ExposureRecord> |
Definition at line 489 of file Exposure.h.
typedef ExposureCatalogT< ExposureRecord > lsst::afw::table::ExposureCatalog = ExposureCatalogT<ExposureRecord> |
Definition at line 488 of file Exposure.h.
typedef ColumnViewT< ExposureRecord > lsst::afw::table::ExposureColumnView = ColumnViewT<ExposureRecord> |
Definition at line 487 of file Exposure.h.
using lsst::afw::table::FieldTypes = TypeList< RecordId, std::uint16_t, std::int32_t, float, double, lsst::geom::Angle, std::uint8_t , Flag, std::string, Array<std::uint16_t>, Array<int>, Array<float>, Array<double>, Array<std::uint8_t> > |
Definition at line 120 of file aggregates.h.
Definition at line 119 of file aggregates.h.
Definition at line 200 of file aggregates.h.
Definition at line 199 of file aggregates.h.
using lsst::afw::table::PyAliasMap = py::class_<AliasMap, std::shared_ptr<AliasMap>> |
Definition at line 37 of file _aliasMap.cc.
using lsst::afw::table::PyIdFactory = py::class_<IdFactory, std::shared_ptr<IdFactory>> |
Definition at line 36 of file _idFactory.cc.
using lsst::afw::table::PySchemaMapper = py::class_<SchemaMapper, std::shared_ptr<SchemaMapper>> |
Definition at line 43 of file _schemaMapper.cc.
|
strong |
Enum used to set units for geometric FunctorKeys.
Enumerator | |
---|---|
PIXEL | |
CELESTIAL |
Definition at line 364 of file aggregates.h.
Bitflags to be passed to SourceCatalog::readFits and SourceCatalog::writeFits.
Note that these flags may also be passed when reading/writing SourceCatalogs via the Butler, by passing a "flags" key/value pair as part of the data ID.
Enumerator | |
---|---|
SOURCE_IO_NO_FOOTPRINTS | Do not read/write footprints at all. |
SOURCE_IO_NO_HEAVY_FOOTPRINTS | Read/write heavy footprints as non-heavy footprints. |
Definition at line 52 of file Source.h.
std::pair< int, int > lsst::afw::table::_Catalog_equal_range | ( | Catalog const & | catalog, |
T const & | value, | ||
Key< T > const & | key ) |
std::shared_ptr< RecordT > lsst::afw::table::_Catalog_find | ( | Catalog const & | catalog, |
T const & | value, | ||
Key< T > const & | key ) |
lsst::afw::table::BOOST_PP_SEQ_FOR_EACH | ( | INSTANTIATE_COLUMNVIEW_SCALAR | , |
_ | , | ||
BOOST_PP_TUPLE_TO_SEQ(AFW_TABLE_SCALAR_FIELD_TYPE_N, AFW_TABLE_SCALAR_FIELD_TYPE_TUPLE) | ) |
Eigen::Matrix2f lsst::afw::table::calculateCoordCovariance | ( | geom::SkyWcs const & | wcs, |
lsst::geom::Point2D | center, | ||
Eigen::Matrix2f | err ) |
Calculate covariance for sky coordinates.
[in] | wcs | WCS to map from pixels to sky. |
[in] | center | The object centroid. |
[in] | err | Covariance matrix of the centroid. |
Definition at line 95 of file wcsUtils.cc.
std::vector< Match< typename Cat::Record, typename Cat::Record > > lsst::afw::table::matchRaDec | ( | Cat const & | cat, |
lsst::geom::Angle | radius, | ||
bool | symmetric ) |
Definition at line 239 of file Match.cc.
std::vector< Match< typename Cat::Record, typename Cat::Record > > lsst::afw::table::matchRaDec | ( | Cat const & | cat, |
lsst::geom::Angle | radius, | ||
MatchControl const & | mc = MatchControl() ) |
cat | the catalog to self-match |
radius | match radius |
mc | how to do the matching (obeys MatchControl::symmetricMatch) |
Definition at line 249 of file Match.cc.
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > lsst::afw::table::matchRaDec | ( | Cat1 const & | cat1, |
Cat2 const & | cat2, | ||
lsst::geom::Angle | radius, | ||
bool | closest ) |
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > lsst::afw::table::matchRaDec | ( | Cat1 const & | cat1, |
Cat2 const & | cat2, | ||
lsst::geom::Angle | radius, | ||
MatchControl const & | mc = MatchControl() ) |
Compute all tuples (s1,s2,d) where s1 belings to cat1
, s2 belongs to cat2
and d, the distance between s1 and s2, is at most radius
.
If cat1 and cat2 are identical, then this call is equivalent to matchRaDec(cat1,radius)
. The match is performed in ra, dec space.
This is instantiated for Simple-Simple, Simple-Source, and Source-Source catalog combinations.
cat1 | first catalog |
cat2 | second catalog |
radius | match radius |
mc | how to do the matching (obeys MatchControl::findOnlyClosest) |
Definition at line 158 of file Match.cc.
template SimpleMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
lsst::geom::Angle | , | ||
bool | ) |
template SimpleMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
lsst::geom::Angle | , | ||
MatchControl const & | ) |
template SimpleMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
SimpleCatalog const & | , | ||
lsst::geom::Angle | , | ||
bool | ) |
template SimpleMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
SimpleCatalog const & | , | ||
lsst::geom::Angle | , | ||
MatchControl const & | ) |
template ReferenceMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
SourceCatalog const & | , | ||
lsst::geom::Angle | , | ||
bool | ) |
template ReferenceMatchVector lsst::afw::table::matchRaDec | ( | SimpleCatalog const & | , |
SourceCatalog const & | , | ||
lsst::geom::Angle | , | ||
MatchControl const & | ) |
template SourceMatchVector lsst::afw::table::matchRaDec | ( | SourceCatalog const & | , |
lsst::geom::Angle | , | ||
bool | ) |
template SourceMatchVector lsst::afw::table::matchRaDec | ( | SourceCatalog const & | , |
lsst::geom::Angle | , | ||
MatchControl const & | ) |
template SourceMatchVector lsst::afw::table::matchRaDec | ( | SourceCatalog const & | , |
SourceCatalog const & | , | ||
lsst::geom::Angle | , | ||
bool | ) |
template SourceMatchVector lsst::afw::table::matchRaDec | ( | SourceCatalog const & | , |
SourceCatalog const & | , | ||
lsst::geom::Angle | , | ||
MatchControl const & | ) |
SourceMatchVector lsst::afw::table::matchXy | ( | SourceCatalog const & | cat, |
double | radius, | ||
bool | symmetric ) |
Definition at line 383 of file Match.cc.
SourceMatchVector lsst::afw::table::matchXy | ( | SourceCatalog const & | cat, |
double | radius, | ||
MatchControl const & | mc = MatchControl() ) |
Compute all tuples (s1,s2,d) where s1 != s2, s1 and s2 both belong to cat
, and d, the distance between s1 and s2, in pixels, is at most radius
.
The match is performed in pixel space (2d cartesian).
cat | the catalog to self-match |
radius | match radius (pixels) |
mc | how to do the matching (obeys MatchControl::symmetricMatch) |
Definition at line 390 of file Match.cc.
SourceMatchVector lsst::afw::table::matchXy | ( | SourceCatalog const & | cat1, |
SourceCatalog const & | cat2, | ||
double | radius, | ||
bool | closest ) |
SourceMatchVector lsst::afw::table::matchXy | ( | SourceCatalog const & | cat1, |
SourceCatalog const & | cat2, | ||
double | radius, | ||
MatchControl const & | mc = MatchControl() ) |
Compute all tuples (s1,s2,d) where s1 belings to cat1
, s2 belongs to cat2
and d, the distance between s1 and s2, in pixels, is at most radius
.
If cat1 and cat2 are identical, then this call is equivalent to matchXy(cat1,radius)
. The match is performed in pixel space (2d cartesian).
cat1 | first catalog |
cat2 | second catalog |
radius | match radius (pixels) |
mc | how to do the matching (obeys MatchControl::findOnlyClosest) |
Definition at line 305 of file Match.cc.
std::ostream & lsst::afw::table::operator<< | ( | std::ostream & | os, |
BaseRecord const & | record ) |
Definition at line 158 of file BaseRecord.cc.
std::ostream & lsst::afw::table::operator<< | ( | std::ostream & | os, |
Schema const & | schema ) |
template BaseCatalog lsst::afw::table::packMatches | ( | ReferenceMatchVector const & | ) |
template BaseCatalog lsst::afw::table::packMatches | ( | SimpleMatchVector const & | ) |
template BaseCatalog lsst::afw::table::packMatches | ( | SourceMatchVector const & | ) |
BaseCatalog lsst::afw::table::packMatches | ( | std::vector< Match< Record1, Record2 > > const & | matches | ) |
Return a table representation of a MatchVector that can be used to persist it.
The schema of the returned object has "first" (RecordId), "second" (RecordID), and "distance" (double) fields.
[in] | matches | A std::vector of Match objects to convert to table form. |
Definition at line 432 of file Match.cc.
lsst::afw::table::PYBIND11_MODULE | ( | _table | , |
mod | ) |
Definition at line 52 of file _table.cc.
template SimpleMatchVector lsst::afw::table::unpackMatches | ( | BaseCatalog const & | , |
SimpleCatalog const & | , | ||
SimpleCatalog const & | ) |
template ReferenceMatchVector lsst::afw::table::unpackMatches | ( | BaseCatalog const & | , |
SimpleCatalog const & | , | ||
SourceCatalog const & | ) |
template SourceMatchVector lsst::afw::table::unpackMatches | ( | BaseCatalog const & | , |
SourceCatalog const & | , | ||
SourceCatalog const & | ) |
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > lsst::afw::table::unpackMatches | ( | BaseCatalog const & | matches, |
Cat1 const & | cat1, | ||
Cat2 const & | cat2 ) |
Reconstruct a MatchVector from a BaseCatalog representation of the matches and a pair of catalogs.
If an ID cannot be found in the given tables, that pointer will be set to null in the returned match vector.
[in] | matches | A normalized BaseCatalog representation, as produced by packMatches. |
[in] | cat1 | A CatalogT containing the records used on the 'first' side of the match, sorted by ascending ID. |
[in] | cat2 | A CatalogT containing the records used on the 'second' side of the match, sorted by ascending ID. May be the same as first. |
This is instantiated for Simple-Simple, Simple-Source, and Source-Source catalog combinations.
Definition at line 455 of file Match.cc.
void lsst::afw::table::updateRefCentroids | ( | geom::SkyWcs const & | wcs, |
ReferenceCollection & | refList ) |
Update centroids in a collection of reference objects.
RefCollection | Type of sequence of reference objects, e.g. lsst::afw::table::SimpleCatalog or std::vector<std::shared_ptr<lsst::afw::table::SimpleRecord>> |
[in] | wcs | WCS to map from sky to pixels |
[in,out] | refList | Collection of reference objects. The schema must have three fields:
|
lsst::pex::exceptions::NotFoundError | if refList's schema does not have the required fields. |
Definition at line 73 of file wcsUtils.cc.
void lsst::afw::table::updateSourceCoords | ( | geom::SkyWcs const & | wcs, |
SourceCollection & | sourceList, | ||
bool | include_covariance = true ) |
Update sky coordinates in a collection of source objects.
SourceCollection | Type of sequence of sources, e.g. lsst::afw::table::SourceCatalog or std::vector<std::shared_ptr<lsst::afw::table::SourceRecord>> |
[in] | wcs | WCS to map from pixels to sky |
[in,out] | sourceList | Collection of sources. The schema must have two fields:
|
[in] | include_covariance | Update coordinate uncertainty using the centroid uncertainty. |
lsst::pex::exceptions::NotFoundError | if refList's schema does not have the required fields. |
Definition at line 125 of file wcsUtils.cc.
void lsst::afw::table::wrapAggregates | ( | WrapperCollection & | wrappers | ) |
Definition at line 225 of file _aggregates.cc.
void lsst::afw::table::wrapAliasMap | ( | cpputils::python::WrapperCollection & | wrappers | ) |
Definition at line 39 of file _aliasMap.cc.
void lsst::afw::table::wrapArrays | ( | WrapperCollection & | wrappers | ) |
Definition at line 101 of file _arrays.cc.
void lsst::afw::table::wrapBase | ( | WrapperCollection & | wrappers | ) |
Definition at line 175 of file _base.cc.
void lsst::afw::table::wrapBaseColumnView | ( | WrapperCollection & | wrappers | ) |
Definition at line 128 of file _baseColumnView.cc.
void lsst::afw::table::wrapExposure | ( | WrapperCollection & | wrappers | ) |
Definition at line 176 of file _exposure.cc.
void lsst::afw::table::wrapIdFactory | ( | cpputils::python::WrapperCollection & | wrappers | ) |
Definition at line 38 of file _idFactory.cc.
void lsst::afw::table::wrapMatch | ( | WrapperCollection & | wrappers | ) |
Definition at line 89 of file _match.cc.
void lsst::afw::table::wrapSchema | ( | WrapperCollection & | wrappers | ) |
Definition at line 539 of file _schema.cc.
void lsst::afw::table::wrapSchemaMapper | ( | WrapperCollection & | wrappers | ) |
Definition at line 55 of file _schemaMapper.cc.
void lsst::afw::table::wrapSimple | ( | WrapperCollection & | wrappers | ) |
Definition at line 92 of file _simple.cc.
void lsst::afw::table::wrapSlots | ( | WrapperCollection & | wrappers | ) |
Definition at line 70 of file _slots.cc.
void lsst::afw::table::wrapSource | ( | WrapperCollection & | wrappers | ) |
Definition at line 182 of file _source.cc.
void lsst::afw::table::wrapWcsUtils | ( | WrapperCollection & | wrappers | ) |
Definition at line 65 of file _wcsUtils.cc.
lsst::afw::table::_ |
Definition at line 198 of file BaseColumnView.cc.