|
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
|
Namespaces | |
| config | |
| detail | |
Classes | |
| class | BBox |
| struct | CatalogControl |
| class | ExposureInfo |
| class | ExposureInfoMap |
| class | ReferencePosition |
Functions | |
| void | readExposureInfos (std::vector< ExposureInfo::Ptr > &exposures, std::string const &csvFile, CsvControl const &control, std::string const &idColumn) |
| void | referenceMatch (std::string const &refFile, CatalogControl const &refControl, CsvControl const &refDialect, std::string const &posFile, CatalogControl const &posControl, CsvControl const &posDialect, std::string const &outFile, CsvControl const &outDialect, lsst::afw::geom::Angle const radius, lsst::afw::geom::Angle const parallaxThresh, bool outputRefExtras, bool truncateOutFile) |
| void | referenceFilter (std::vector< ExposureInfo::Ptr > &exposures, std::string const &refFile, CatalogControl const &refControl, CsvControl const &refDialect, std::string const &outFile, CsvControl const &outDialect, lsst::afw::geom::Angle const parallaxThresh, bool truncateOutFile) |
| void lsst::ap::match::readExposureInfos | ( | std::vector< ExposureInfo::Ptr > & | exposures, |
| std::string const & | csvFile, | ||
| lsst::ap::utils::CsvControl const & | control, | ||
| std::string const & | idColumn | ||
| ) |
Reads an exposure metadata key-value CSV file (where metadata keys must have been grouped by exposure id). An ExposureInfo object is created for each input exposure and appended to exposures.
| [in,out] | exposures | ExposureInfo objects are appended to this vector. |
| [in] | csvFile | Metadata table path. |
| [in] | control | Metadata table CSV format. |
| [in] | idColumn | Name of ID column, e.g. "scienceCcdExposureId". |
Definition at line 307 of file ExposureInfo.cc.
| void lsst::ap::match::referenceFilter | ( | std::vector< ExposureInfo::Ptr > & | exposures, |
| std::string const & | refFile, | ||
| CatalogControl const & | refControl, | ||
| lsst::ap::utils::CsvControl const & | refDialect, | ||
| std::string const & | outFile, | ||
| lsst::ap::utils::CsvControl const & | outDialect, | ||
| lsst::afw::geom::Angle const | parallaxThresh = 0.01 *lsst::afw::geom::arcseconds, |
||
| bool | truncateOutFile = false |
||
| ) |
Computes the number of times a reference catalog should have been observed in each filter with an ideal observatory, given a set of exposures. The per-filter observation counts are appended as columns "<filter>Cov", in order of filter ID. Note that filter IDs are required to be contiguous integers 0, 1, .... N - 1.
Reference catalog entries not falling on any of the given exposures are dropped from the output.
Note that a reduction for parallax from barycentric to geocentric place is applied to reference catalog entries with parallax above parallaxThresh. To disable this reduction, use a large threshold (e.g. +Inf).
| [in] | exposures | Exposures to filter against - reordered by the call. |
| [in] | refFile | Declination sorted reference catalog CSV file name. |
| [in] | refControl | CSV dialect of reference catalog CSV file. |
| [in] | refDialect | CSV dialect of reference catalog CSV file. |
| [in] | outFile | Output file name. |
| [in] | outDialect | Output file CSV dialect. |
| [in] | parallaxThresh | Parallax threshold |
| [in] | truncateOutFile | Truncate outFile before appending to it? |
Definition at line 1671 of file ReferenceMatch.cc.
| void lsst::ap::match::referenceMatch | ( | std::string const & | refFile, |
| CatalogControl const & | refControl, | ||
| lsst::ap::utils::CsvControl const & | refDialect, | ||
| std::string const & | posFile, | ||
| CatalogControl const & | posControl, | ||
| lsst::ap::utils::CsvControl const & | posDialect, | ||
| std::string const & | outFile, | ||
| lsst::ap::utils::CsvControl const & | outDialect, | ||
| lsst::afw::geom::Angle const | radius = 2.0 *lsst::afw::geom::arcseconds, |
||
| lsst::afw::geom::Angle const | parallaxThresh = 0.01 *lsst::afw::geom::arcseconds, |
||
| bool | outputRefExtras = true, |
||
| bool | truncateOutFile = false |
||
| ) |
Matches a declination sorted reference catalog (stored as a CSV file) to a table of positions.
Note that a reduction for parallax from barycentric to geocentric place is applied to reference catalog entries with parallax above parallaxThresh. To disable this reduction, use a large threshold (e.g. +Inf).
| [in] | refFile | Declination sorted reference catalog CSV file name. |
| [in] | refControl | Reference catalog CSV file properties. |
| [in] | refDialect | CSV dialect of reference catalog CSV file. |
| [in] | posFile | Declination sorted position CSV file name. |
| [in] | posControl | Position CSV file properties. |
| [in] | posDialect | CSV dialect of position CSV file. |
| [in] | outFile | Output file name. |
| [in] | outDialect | Output file CSV dialect. |
| [in] | radius | Match radius. |
| [in] | parallaxThresh | Parallax threshold. |
| [in] | outputRefExtras | Output proper-motion/parallax corrected reference object position and associated flags in match records? |
| [in] | truncateOutFile | Truncate outFile before appending to it? |
Definition at line 1637 of file ReferenceMatch.cc.
1.8.5