LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Namespaces | |
dataIds | |
jointcal | |
testUtils | |
utils | |
version | |
Classes | |
class | Associations |
The class that implements the relations between MeasuredStar and FittedStar. More... | |
class | AstrometryFit |
Class that handles the astrometric least squares problem. More... | |
class | AstrometryMapping |
virtual class needed in the abstraction of the distortion model More... | |
class | AstrometryModel |
Interface between AstrometryFit and the combinations of Mappings from pixels to some tangent plane (aka distortions). More... | |
class | AstrometryTransform |
a virtual (interface) class for geometric transformations. More... | |
class | AstrometryTransformComposition |
Private class to handle AstrometryTransform compositions (i.e. More... | |
class | AstrometryTransformIdentity |
A do-nothing transformation. It anyway has dummy routines to mimick a AstrometryTransform. More... | |
class | AstrometryTransformInverse |
class | AstrometryTransformLinear |
implements the linear transformations (6 real coefficients). More... | |
class | AstrometryTransformLinearRot |
just here to provide a specialized constructor, and fit. More... | |
class | AstrometryTransformLinearScale |
just here to provide specialized constructors. AstrometryTransformLinear fit routine. More... | |
class | AstrometryTransformLinearShift |
just here to provide a specialized constructor, and fit. More... | |
class | AstrometryTransformPolynomial |
Polynomial transformation class. More... | |
class | AstrometryTransformSkyWcs |
A AstrometryTransform that holds a SkyWcs. More... | |
class | BaseStar |
The base class for handling stars. Used by all matching routines. More... | |
class | BaseTanWcs |
class | CcdImage |
Handler of an actual image from a single CCD. More... | |
struct | CcdImageKey |
For hashing a ccdImage: the pair of (visit, ccd) IDs should be unique to each ccdImage. More... | |
class | Chi2Accumulator |
Base class for Chi2Statistic and Chi2List, to allow addEntry inside Fitter for either class. More... | |
class | Chi2List |
Structure to accumulate the chi2 contributions per each star (to help find outliers). More... | |
struct | Chi2Star |
class | Chi2Statistic |
Simple structure to accumulate chi2 and ndof. More... | |
class | ChipVisitAstrometryMapping |
The mapping with two transforms in a row. More... | |
class | ChipVisitFluxMapping |
class | ChipVisitMagnitudeMapping |
class | ChipVisitPhotometryMapping |
A two-level photometric transform: one for the ccd and one for the visit. More... | |
class | ConstrainedAstrometryModel |
A multi-component model, fitting mappings for sensors and visits simultaneously. More... | |
class | ConstrainedFluxModel |
class | ConstrainedMagnitudeModel |
class | ConstrainedPhotometryModel |
Photometry model with constraints, \(M(x,y) = M_CCD(x,y)*M_visit(u,v)\). More... | |
class | FastFinder |
This is an auxillary class for matching objects from starlists. More... | |
class | FatPoint |
A Point with uncertainties. More... | |
class | FittedStar |
The objects which have been measured several times. More... | |
class | FittedStarList |
A list of FittedStar s. Such a list is typically constructed by Associations. More... | |
class | FitterBase |
Base class for fitters. More... | |
class | FluxTransformChebyshev |
nth-order 2d Chebyshev photometry transform, times the input flux. More... | |
class | FluxTransformSpatiallyInvariant |
Photometric offset independent of position, defined as (fluxMag0)^-1. More... | |
class | Frame |
rectangle with sides parallel to axes. More... | |
class | Histo2d |
class | IdentityProjectionHandler |
The simplest implementation of ProjectionHandler. More... | |
struct | JointcalControl |
class | MagnitudeTransformChebyshev |
nth-order 2d Chebyshev photometry transform, plus the input flux. More... | |
class | MagnitudeTransformSpatiallyInvariant |
Photometric offset independent of position, defined as -2.5 * log(flux / fluxMag0). More... | |
struct | MatchConditions |
Parameters to be provided to combinatorial searches. More... | |
class | MeasuredStar |
objects measured on actual images. More... | |
class | MeasuredStarList |
A list of MeasuredStar. They are usually filled in Associations::createCcdImage. More... | |
class | OneTPPerVisitHandler |
A projection handler in which all CCDs from the same visit have the same tangent point. More... | |
class | PhotometryFit |
Class that handles the photometric least squares problem. More... | |
class | PhotometryMapping |
A mapping containing a single photometryTransform. More... | |
class | PhotometryMappingBase |
Relates transform(s) to their position in the fitting matrix and allows interaction with the transform(s). More... | |
class | PhotometryModel |
class | PhotometryTransform |
A photometric transform, defined in terms of the input flux or magnitude. More... | |
class | PhotometryTransformChebyshev |
nth-order 2d Chebyshev photometry transform. More... | |
class | PhotometryTransformSpatiallyInvariant |
Photometry offset independent of position. More... | |
struct | PmBlock |
objects whose position is going to be fitted. Coordinates in Common Tangent Plane. More... | |
class | Point |
A point in a plane. More... | |
class | PolyXY |
struct | ProjectionHandler |
This is a virtual class that allows a lot of freedom in the choice of the projection from "Sky" (where coodinates are reported) to tangent plane (where they are compared to transformed measurements) More... | |
class | RefStar |
Objects used as position anchors, typically USNO stars. More... | |
class | RefStarList |
struct | Segment |
class | SegmentList |
struct | SegmentPair |
class | SimpleAstrometryMapping |
class | SimpleAstrometryModel |
A model where there is one independent transform per CcdImage. More... | |
class | SimpleFluxModel |
class | SimpleMagnitudeModel |
class | SimplePhotometryModel |
Photometric response model which has a single photometric factor per CcdImage. More... | |
class | SimplePolyMapping |
Mapping implementation for a polynomial transformation. More... | |
class | SparseHisto4d |
A class to histogram in 4 dimensions. More... | |
class | StarList |
std::lists of Stars. More... | |
class | StarMatch |
A hanger for star associations. More... | |
class | StarMatchList |
class | TanPixelToRaDec |
The transformation that handles pixels to sideral transformations (Gnomonic, possibly with polynomial distortions). More... | |
class | TanRaDecToPixel |
This one is the Tangent Plane (called gnomonic) projection (from celestial sphere to tangent plane) More... | |
class | TanSipPixelToRaDec |
Implements the (forward) SIP distorsion scheme. More... | |
class | TripletList |
class | UserTransform |
A run-time transform that allows users to define a AstrometryTransform with minimal coding (just the apply routine). More... | |
Typedefs | |
using | RefFluxMapType = std::map< std::string, std::vector< double > > |
typedef void() | AstrometryTransformFun(const double, const double, double &, double &, const void *) |
signature of the user-provided routine that actually does the coordinate transform for UserTransform. More... | |
typedef StarList< BaseStar > | BaseStarList |
typedef BaseStarList::const_iterator | BaseStarCIterator |
typedef BaseStarList::iterator | BaseStarIterator |
typedef std::list< std::shared_ptr< CcdImage > > | CcdImageList |
typedef int | VisitIdType |
typedef int | CcdIdType |
typedef FittedStarList::const_iterator | FittedStarCIterator |
typedef FittedStarList::iterator | FittedStarIterator |
typedef MeasuredStarList::const_iterator | MeasuredStarCIterator |
typedef MeasuredStarList::iterator | MeasuredStarIterator |
typedef RefStarList::const_iterator | RefStarCIterator |
typedef RefStarList::iterator | RefStarIterator |
typedef ::std::list< StarMatch >::iterator | StarMatchIterator |
typedef ::std::list< StarMatch >::const_iterator | StarMatchCIterator |
typedef Eigen::Triplet< double > | Trip |
using | Iterator = FastFinder::Iterator |
typedef std::list< Segment >::iterator | SegmentIterator |
typedef std::list< Segment >::const_iterator | SegmentCIterator |
typedef std::list< SegmentPair > | SegmentPairList |
typedef SegmentPairList::iterator | SegmentPairListIterator |
typedef SegmentPairList::const_iterator | SegmentPairListCIterator |
using | SolList = std::list< std::unique_ptr< StarMatchList > > |
Enumerations | |
enum | MinimizeResult { MinimizeResult::Converged, MinimizeResult::Chi2Increased, MinimizeResult::Failed, MinimizeResult::NonFinite } |
Return value of minimize() More... | |
typedef void() lsst::jointcal::AstrometryTransformFun(const double, const double, double &, double &, const void *) |
signature of the user-provided routine that actually does the coordinate transform for UserTransform.
Definition at line 750 of file AstrometryTransform.h.
typedef BaseStarList::const_iterator lsst::jointcal::BaseStarCIterator |
Definition at line 121 of file BaseStar.h.
typedef BaseStarList::iterator lsst::jointcal::BaseStarIterator |
Definition at line 122 of file BaseStar.h.
typedef StarList<BaseStar> lsst::jointcal::BaseStarList |
Definition at line 119 of file BaseStar.h.
typedef int lsst::jointcal::CcdIdType |
Definition at line 49 of file CcdImage.h.
Definition at line 46 of file CcdImage.h.
typedef FittedStarList::const_iterator lsst::jointcal::FittedStarCIterator |
Definition at line 131 of file FittedStar.h.
typedef FittedStarList::iterator lsst::jointcal::FittedStarIterator |
Definition at line 132 of file FittedStar.h.
using lsst::jointcal::Iterator = typedef FastFinder::Iterator |
Definition at line 179 of file FastFinder.cc.
typedef MeasuredStarList::const_iterator lsst::jointcal::MeasuredStarCIterator |
Definition at line 153 of file MeasuredStar.h.
typedef MeasuredStarList::iterator lsst::jointcal::MeasuredStarIterator |
Definition at line 154 of file MeasuredStar.h.
using lsst::jointcal::RefFluxMapType = typedef std::map<std::string, std::vector<double> > |
Definition at line 51 of file Associations.h.
typedef RefStarList::const_iterator lsst::jointcal::RefStarCIterator |
typedef RefStarList::iterator lsst::jointcal::RefStarIterator |
typedef std::list<Segment>::const_iterator lsst::jointcal::SegmentCIterator |
Definition at line 92 of file ListMatch.cc.
Definition at line 91 of file ListMatch.cc.
Definition at line 119 of file ListMatch.cc.
typedef SegmentPairList::const_iterator lsst::jointcal::SegmentPairListCIterator |
Definition at line 121 of file ListMatch.cc.
typedef SegmentPairList::iterator lsst::jointcal::SegmentPairListIterator |
Definition at line 120 of file ListMatch.cc.
using lsst::jointcal::SolList = typedef std::list<std::unique_ptr<StarMatchList> > |
Definition at line 157 of file ListMatch.cc.
typedef ::std::list<StarMatch>::const_iterator lsst::jointcal::StarMatchCIterator |
Definition at line 134 of file StarMatch.h.
typedef ::std::list<StarMatch>::iterator lsst::jointcal::StarMatchIterator |
Definition at line 133 of file StarMatch.h.
typedef Eigen::Triplet<double> lsst::jointcal::Trip |
Definition at line 35 of file Tripletlist.h.
typedef int lsst::jointcal::VisitIdType |
Definition at line 48 of file CcdImage.h.
|
strong |
Return value of minimize()
Enumerator | |
---|---|
Converged | |
Chi2Increased | |
Failed | |
NonFinite |
Definition at line 40 of file FitterBase.h.
std::unique_ptr< AstrometryTransform > lsst::jointcal::astrometryTransformRead | ( | const std::string & | fileName | ) |
The virtual constructor from a file.
Definition at line 1781 of file AstrometryTransform.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::astrometryTransformRead | ( | std::istream & | s | ) |
The virtual constructor from a file.
Definition at line 1796 of file AstrometryTransform.cc.
Definition at line 115 of file StarMatch.h.
Definition at line 121 of file StarMatch.h.
std::unique_ptr< AstrometryTransform > lsst::jointcal::compose | ( | AstrometryTransform const & | left, |
AstrometryTransform const & | right | ||
) |
Returns a pointer to a composition of transforms, representing left(right())
.
Deletion of returned value to be done by caller.
If left->composeAndReduce(right)
returns NULL, build a AstrometryTransformComposition and return it. This routine implements "run-time" compositions. When there is a possible "reduction" (e.g. compositions of polynomials), compose detects it and returns a genuine AstrometryTransform.
Definition at line 424 of file AstrometryTransform.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::compose | ( | AstrometryTransform const & | left, |
AstrometryTransformIdentity const & | right | ||
) |
Definition at line 419 of file AstrometryTransform.cc.
double lsst::jointcal::computeChi2 | ( | const StarMatchList & | L, |
const AstrometryTransform & | transform | ||
) |
double lsst::jointcal::computeDist2 | ( | const StarMatchList & | S, |
const AstrometryTransform & | transform | ||
) |
sum of distance squared
Definition at line 239 of file StarMatch.cc.
BaseStarList & lsst::jointcal::Fitted2Base | ( | FittedStarList & | This | ) |
Definition at line 64 of file FittedStar.cc.
BaseStarList * lsst::jointcal::Fitted2Base | ( | FittedStarList * | This | ) |
Definition at line 66 of file FittedStar.cc.
const BaseStarList & lsst::jointcal::Fitted2Base | ( | const FittedStarList & | This | ) |
Definition at line 68 of file FittedStar.cc.
const BaseStarList * lsst::jointcal::Fitted2Base | ( | const FittedStarList * | This | ) |
Definition at line 70 of file FittedStar.cc.
std::shared_ptr< AstrometryTransformPolynomial > lsst::jointcal::inversePolyTransform | ( | AstrometryTransform const & | forward, |
Frame const & | domain, | ||
double const | precision, | ||
std::size_t | maxOrder = 9 , |
||
std::size_t | nSteps = 50 |
||
) |
Approximate the inverse by a polynomial, to some precision.
forward | Transform to be inverted. | |
[in] | domain | The domain of forward. |
[in] | precision | Require that \(chi2 / (nsteps^2) < precision^2\). |
[in] | maxOrder | The maximum order allowed of the inverse polynomial. |
[in] | nSteps | The number of sample points per axis (nSteps^2 total points). |
Definition at line 1132 of file AstrometryTransform.cc.
bool lsst::jointcal::isIntegerShift | ( | const AstrometryTransform * | transform | ) |
Shorthand test to tell if a transform is a simple integer shift.
Definition at line 55 of file AstrometryTransform.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::listMatchCollect | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const AstrometryTransform * | guess, | ||
const double | maxDist | ||
) |
assembles star matches.
It picks stars in list1, transforms them through guess, and collects closest star in list2, and builds a match if closer than maxDist).
Definition at line 569 of file ListMatch.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::listMatchCollect | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const double | maxDist | ||
) |
same as before except that the transform is the identity
Definition at line 615 of file ListMatch.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::listMatchCombinatorial | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const MatchConditions & | conditions = MatchConditions() |
||
) |
Definition at line 680 of file ListMatch.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::listMatchRefine | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
std::unique_ptr< AstrometryTransform > | transform, | ||
const int | maxOrder = 3 |
||
) |
Definition at line 720 of file ListMatch.cc.
std::unique_ptr< AstrometryTransformLinear > lsst::jointcal::listMatchupShift | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const AstrometryTransform & | transform, | ||
double | maxShift, | ||
double | binSize = 0 |
||
) |
searches for a 2 dimensional shift using a very crude histogram method.
Definition at line 491 of file ListMatch.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::matchSearchRotShift | ( | BaseStarList & | list1, |
BaseStarList & | list2, | ||
const MatchConditions & | conditions | ||
) |
searches a geometrical transformation that goes from list1 to list2.
The found transformation is a field of the returned object, as well as the star pairs (the matches) that were constructed. (see StarMatchList class definition for more details). The various cuts are contained in conditions (see listmatch.h) for its contents. This routine searches a transformation that involves a shift and a rotation.
Definition at line 425 of file ListMatch.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::matchSearchRotShiftFlip | ( | BaseStarList & | list1, |
BaseStarList & | list2, | ||
const MatchConditions & | conditions | ||
) |
same as above but searches also a flipped solution.
Definition at line 433 of file ListMatch.cc.
BaseStarList & lsst::jointcal::Measured2Base | ( | MeasuredStarList & | This | ) |
Definition at line 58 of file MeasuredStar.cc.
BaseStarList * lsst::jointcal::Measured2Base | ( | MeasuredStarList * | This | ) |
Definition at line 60 of file MeasuredStar.cc.
const BaseStarList & lsst::jointcal::Measured2Base | ( | const MeasuredStarList & | This | ) |
Definition at line 62 of file MeasuredStar.cc.
const BaseStarList * lsst::jointcal::Measured2Base | ( | const MeasuredStarList * | This | ) |
Definition at line 64 of file MeasuredStar.cc.
AstrometryTransformLinear lsst::jointcal::normalizeCoordinatesTransform | ( | const Frame & | frame | ) |
Returns the transformation that maps the input frame along both axes to [-1,1].
Definition at line 818 of file AstrometryTransform.cc.
std::ostream& lsst::jointcal::operator<< | ( | std::ostream & | s, |
Chi2List const & | chi2List | ||
) |
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | out, |
CcdImageKey const & | key | ||
) |
Definition at line 52 of file CcdImage.cc.
std::ostream& lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const Point & | point | ||
) |
std::ostream& lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const StarList< Star > & | list | ||
) |
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const StarMatch & | match | ||
) |
Definition at line 56 of file StarMatch.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const StarMatchList & | starMatchList | ||
) |
A std::list of star matches,.
To be used as the argument to AstrometryTransform::fit routines. There is as well a StarMatch::fit routine which fits a polynomial by default, although the transform may be user-provided. The StarMatchList::refineTransform is a convenient tool to reject outliers. Given two catalogs, one can assemble a StarMatchList using utilities such as listMatchCollect. StarMatchList's have write capabilities. NStarMatchList is a generalization of this 2-match to n-matches.
Definition at line 62 of file StarMatch.cc.
ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
AstrometryTransform const & | transform | ||
) |
Delegates to transform.dump()
Definition at line 240 of file AstrometryTransform.cc.
BaseStarList & lsst::jointcal::Ref2Base | ( | RefStarList & | This | ) |
Definition at line 34 of file RefStar.cc.
BaseStarList * lsst::jointcal::Ref2Base | ( | RefStarList * | This | ) |
Definition at line 36 of file RefStar.cc.
const BaseStarList & lsst::jointcal::Ref2Base | ( | const RefStarList & | This | ) |
Definition at line 38 of file RefStar.cc.
const BaseStarList * lsst::jointcal::Ref2Base | ( | const RefStarList * | This | ) |
Definition at line 40 of file RefStar.cc.
Definition at line 119 of file StarMatch.h.
Definition at line 125 of file StarMatch.h.