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 | Functions
ReferenceMatch.cc File Reference

Reference matching implementation. More...

#include "lsst/ap/match/ReferenceMatch.h"
#include <math.h>
#include <cstddef>
#include <algorithm>
#include <limits>
#include <string>
#include <vector>
#include "boost/scoped_ptr.hpp"
#include "lsst/utils/ieee.h"
#include "lsst/pex/logging/Log.h"
#include "lsst/afw/coord/Coord.h"
#include "lsst/afw/geom/Angle.h"
#include "lsst/afw/image/ImageUtils.h"
#include "lsst/ap/constants.h"
#include "lsst/ap/utils/Arena.h"
#include "lsst/ap/utils/Csv.h"
#include "lsst/ap/utils/SmallPtrVector.h"
#include "lsst/ap/utils/SpatialUtils.h"
#include "lsst/ap/match/BBox.h"
#include "lsst/ap/match/CatalogControl.h"
#include "lsst/ap/match/ExposureInfo.h"
#include "lsst/ap/match/ReferencePosition.h"
#include "lsst/ap/match/detail/SweepStructure.h"

Go to the source code of this file.

Namespaces

 lsst
 Estimate image backgrounds.
 
 lsst::ap
 
 lsst::ap::match
 

Functions

void lsst::ap::match::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 lsst::ap::match::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)
 

Detailed Description

Reference matching implementation.

Author
Serge Monkewitz

Definition in file ReferenceMatch.cc.

Variable Documentation

Angle _alpha
Examples:
forEachPixel.cc.

Definition at line 281 of file ReferenceMatch.cc.

Angle _angSep

Definition at line 159 of file ReferenceMatch.cc.

Arena<RefPosMatch> _arena

Definition at line 497 of file ReferenceMatch.cc.

std::stringstream _buf

Definition at line 514 of file ReferenceMatch.cc.

int64_t _closestId

Definition at line 215 of file ReferenceMatch.cc.

double _closestSep

Definition at line 216 of file ReferenceMatch.cc.

std::vector<int> _columns

Definition at line 511 of file ReferenceMatch.cc.

bool _covered

Definition at line 405 of file ReferenceMatch.cc.

Angle _decl

Definition at line 498 of file ReferenceMatch.cc.

int _declCol

Definition at line 508 of file ReferenceMatch.cc.

double _declScale

Definition at line 510 of file ReferenceMatch.cc.

double _defaultEpoch

Definition at line 499 of file ReferenceMatch.cc.

double _epoch

Definition at line 277 of file ReferenceMatch.cc.

int _epochCol

Definition at line 506 of file ReferenceMatch.cc.

SphericalSweep<ExposureInfo> _expSweep

Definition at line 1475 of file ReferenceMatch.cc.

boost::scoped_array<int> _filterCov

Definition at line 407 of file ReferenceMatch.cc.

std::vector<std::pair<Angle, RefWithCov *> > _heap

Definition at line 1121 of file ReferenceMatch.cc.

int64_t _id

Definition at line 276 of file ReferenceMatch.cc.

int _idCol

Definition at line 505 of file ReferenceMatch.cc.

MatchVector _matches

Definition at line 219 of file ReferenceMatch.cc.

double _maxAngularVelocity

Definition at line 764 of file ReferenceMatch.cc.

Angle _maxDecl

Definition at line 1480 of file ReferenceMatch.cc.

double _maxEpoch

Definition at line 501 of file ReferenceMatch.cc.

double _maxMatchEpoch

Definition at line 762 of file ReferenceMatch.cc.

Angle _maxParallax

Definition at line 763 of file ReferenceMatch.cc.

double _minEpoch

Definition at line 500 of file ReferenceMatch.cc.

double _minMatchEpoch

Definition at line 761 of file ReferenceMatch.cc.

int _muDeclCol

Definition at line 771 of file ReferenceMatch.cc.

double _muDeclScale

Definition at line 777 of file ReferenceMatch.cc.

int _muRaCol

Definition at line 770 of file ReferenceMatch.cc.

double _muRaScale

Definition at line 776 of file ReferenceMatch.cc.

bool _muRaTrueAngle

Definition at line 780 of file ReferenceMatch.cc.

MatchablePos* _next

Definition at line 503 of file ReferenceMatch.cc.

int _nMatches

Definition at line 217 of file ReferenceMatch.cc.

std::string _nullRecord

Definition at line 512 of file ReferenceMatch.cc.

int _numFilters

Definition at line 406 of file ReferenceMatch.cc.

bool _outputRefExtras

Definition at line 1194 of file ReferenceMatch.cc.

Eigen::Vector3d _p

Definition at line 279 of file ReferenceMatch.cc.

int _parallaxCol

Definition at line 773 of file ReferenceMatch.cc.

double _parallaxScale

Definition at line 779 of file ReferenceMatch.cc.

Angle _parallaxThresh

Definition at line 765 of file ReferenceMatch.cc.

ReferencePosition _pos

Definition at line 157 of file ReferenceMatch.cc.

MatchablePosReader* _posReader

Definition at line 1191 of file ReferenceMatch.cc.

SphericalSweep<MatchablePos> _posSweep

Definition at line 1186 of file ReferenceMatch.cc.

int _raCol

Definition at line 507 of file ReferenceMatch.cc.

Angle _radius

Definition at line 280 of file ReferenceMatch.cc.

double _raScale

Definition at line 509 of file ReferenceMatch.cc.

Angle _readAhead

Definition at line 748 of file ReferenceMatch.cc.

boost::scoped_ptr<CsvReader> _reader

Definition at line 504 of file ReferenceMatch.cc.

std::string _record

Definition at line 220 of file ReferenceMatch.cc.

MatchableRef* _ref

Definition at line 156 of file ReferenceMatch.cc.

int _refCount

Definition at line 160 of file ReferenceMatch.cc.

RefReader<RefWithCov>* _refReader

Definition at line 1190 of file ReferenceMatch.cc.

SphericalSweep<RefWithCov> _refSweep

Definition at line 1187 of file ReferenceMatch.cc.

ReferencePosition _rp

Definition at line 334 of file ReferenceMatch.cc.

IcrsCoord _sc

Definition at line 158 of file ReferenceMatch.cc.

int _vRadialCol

Definition at line 772 of file ReferenceMatch.cc.

double _vRadialScale

Definition at line 778 of file ReferenceMatch.cc.

CsvWriter* _writer

Definition at line 515 of file ReferenceMatch.cc.