LSST Applications g070148d5b3+33e5256705,g0d53e28543+25c8b88941,g0da5cf3356+2dd1178308,g1081da9e2a+62d12e78cb,g17e5ecfddb+7e422d6136,g1c76d35bf8+ede3a706f7,g295839609d+225697d880,g2e2c1a68ba+cc1f6f037e,g2ffcdf413f+853cd4dcde,g38293774b4+62d12e78cb,g3b44f30a73+d953f1ac34,g48ccf36440+885b902d19,g4b2f1765b6+7dedbde6d2,g5320a0a9f6+0c5d6105b6,g56b687f8c9+ede3a706f7,g5c4744a4d9+ef6ac23297,g5ffd174ac0+0c5d6105b6,g6075d09f38+66af417445,g667d525e37+2ced63db88,g670421136f+2ced63db88,g71f27ac40c+2ced63db88,g774830318a+463cbe8d1f,g7876bc68e5+1d137996f1,g7985c39107+62d12e78cb,g7fdac2220c+0fd8241c05,g96f01af41f+368e6903a7,g9ca82378b8+2ced63db88,g9d27549199+ef6ac23297,gabe93b2c52+e3573e3735,gb065e2a02a+3dfbe639da,gbc3249ced9+0c5d6105b6,gbec6a3398f+0c5d6105b6,gc9534b9d65+35b9f25267,gd01420fc67+0c5d6105b6,geee7ff78d7+a14128c129,gf63283c776+ede3a706f7,gfed783d017+0c5d6105b6,w.2022.47
LSST Data Management Base Package
|
Namespaces | |
namespace | cameraGeometry |
namespace | check_logged_chi2 |
namespace | jointcal |
namespace | testUtils |
namespace | 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 |
FittedStars are objects whose position or flux is going to be fitted, and which come from the association of multiple MeasuredStars. 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 |
Sources measured on 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... | |
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 | ProperMotion |
Proper motion data for a reference star or fitted star. More... | |
class | RefStar |
Objects used as position/flux anchors (e.g. More... | |
class | RefStarList |
struct | Segment |
class | SegmentList |
struct | SegmentPair |
class | SimpleAstrometryMapping |
Class for a simple mapping implementing a generic AstrometryTransform. More... | |
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 > > |
using | AstrometryTransformFun = void(const double, const double, double &, double &, const void *) |
signature of the user-provided routine that actually does the coordinate transform for UserTransform. More... | |
using | BaseStarList = StarList< BaseStar > |
using | BaseStarCIterator = BaseStarList::const_iterator |
using | BaseStarIterator = BaseStarList::iterator |
using | CcdImageList = std::list< std::shared_ptr< CcdImage > > |
using | VisitIdType = long |
using | CcdIdType = int |
using | FittedStarCIterator = FittedStarList::const_iterator |
using | FittedStarIterator = FittedStarList::iterator |
using | MeasuredStarCIterator = MeasuredStarList::const_iterator |
using | MeasuredStarIterator = MeasuredStarList::iterator |
using | RefStarCIterator = RefStarList::const_iterator |
using | RefStarIterator = RefStarList::iterator |
using | StarMatchIterator = ::std::list< StarMatch >::iterator |
using | StarMatchCIterator = ::std::list< StarMatch >::const_iterator |
using | Trip = Eigen::Triplet< double > |
using | Iterator = FastFinder::Iterator |
using | SegmentIterator = std::list< Segment >::iterator |
using | SegmentCIterator = std::list< Segment >::const_iterator |
using | SegmentPairList = std::list< SegmentPair > |
using | SegmentPairListIterator = SegmentPairList::iterator |
using | SegmentPairListCIterator = SegmentPairList::const_iterator |
using | SolList = std::list< std::unique_ptr< StarMatchList > > |
Enumerations | |
enum class | MinimizeResult { Converged , Chi2Increased , Failed , NonFinite } |
Return value of minimize() More... | |
using lsst::jointcal::AstrometryTransformFun = typedef void (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 754 of file AstrometryTransform.h.
using lsst::jointcal::BaseStarCIterator = typedef BaseStarList::const_iterator |
Definition at line 123 of file BaseStar.h.
using lsst::jointcal::BaseStarIterator = typedef BaseStarList::iterator |
Definition at line 124 of file BaseStar.h.
using lsst::jointcal::BaseStarList = typedef StarList<BaseStar> |
Definition at line 121 of file BaseStar.h.
using lsst::jointcal::CcdIdType = typedef int |
Definition at line 49 of file CcdImage.h.
using lsst::jointcal::CcdImageList = typedef std::list<std::shared_ptr<CcdImage> > |
Definition at line 46 of file CcdImage.h.
using lsst::jointcal::FittedStarCIterator = typedef FittedStarList::const_iterator |
Definition at line 124 of file FittedStar.h.
using lsst::jointcal::FittedStarIterator = typedef FittedStarList::iterator |
Definition at line 125 of file FittedStar.h.
using lsst::jointcal::Iterator = typedef FastFinder::Iterator |
Definition at line 178 of file FastFinder.cc.
using lsst::jointcal::MeasuredStarCIterator = typedef MeasuredStarList::const_iterator |
Definition at line 158 of file MeasuredStar.h.
using lsst::jointcal::MeasuredStarIterator = typedef MeasuredStarList::iterator |
Definition at line 159 of file MeasuredStar.h.
using lsst::jointcal::RefFluxMapType = typedef std::map<std::string, std::vector<double> > |
Definition at line 52 of file Associations.h.
using lsst::jointcal::RefStarCIterator = typedef RefStarList::const_iterator |
using lsst::jointcal::RefStarIterator = typedef RefStarList::iterator |
using lsst::jointcal::SegmentCIterator = typedef std::list<Segment>::const_iterator |
Definition at line 92 of file ListMatch.cc.
using lsst::jointcal::SegmentIterator = typedef std::list<Segment>::iterator |
Definition at line 91 of file ListMatch.cc.
using lsst::jointcal::SegmentPairList = typedef std::list<SegmentPair> |
Definition at line 119 of file ListMatch.cc.
using lsst::jointcal::SegmentPairListCIterator = typedef SegmentPairList::const_iterator |
Definition at line 121 of file ListMatch.cc.
using lsst::jointcal::SegmentPairListIterator = typedef SegmentPairList::iterator |
Definition at line 120 of file ListMatch.cc.
using lsst::jointcal::SolList = typedef std::list<std::unique_ptr<StarMatchList> > |
Definition at line 156 of file ListMatch.cc.
using lsst::jointcal::StarMatchCIterator = typedef ::std::list<StarMatch>::const_iterator |
Definition at line 135 of file StarMatch.h.
using lsst::jointcal::StarMatchIterator = typedef ::std::list<StarMatch>::iterator |
Definition at line 134 of file StarMatch.h.
using lsst::jointcal::Trip = typedef Eigen::Triplet<double> |
Definition at line 35 of file Tripletlist.h.
using lsst::jointcal::VisitIdType = typedef long |
Definition at line 48 of file CcdImage.h.
|
strong |
Return value of minimize()
Enumerator | |
---|---|
Converged | |
Chi2Increased | |
Failed | |
NonFinite |
Definition at line 42 of file FitterBase.h.
std::unique_ptr< AstrometryTransform > lsst::jointcal::astrometryTransformRead | ( | const std::string & | fileName | ) |
The virtual constructor from a file.
Definition at line 1811 of file AstrometryTransform.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::astrometryTransformRead | ( | std::istream & | s | ) |
The virtual constructor from a file.
Definition at line 1826 of file AstrometryTransform.cc.
Definition at line 116 of file StarMatch.h.
Definition at line 122 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 427 of file AstrometryTransform.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::compose | ( | AstrometryTransform const & | left, |
AstrometryTransformIdentity const & | right | ||
) |
Definition at line 422 of file AstrometryTransform.cc.
double lsst::jointcal::computeChi2 | ( | const StarMatchList & | L, |
const AstrometryTransform & | transform | ||
) |
the actual chi2
Definition at line 244 of file StarMatch.cc.
double lsst::jointcal::computeDist2 | ( | const StarMatchList & | S, |
const AstrometryTransform & | transform | ||
) |
sum of distance squared
Definition at line 237 of file StarMatch.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.
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.
std::shared_ptr< AstrometryTransformPolynomial > lsst::jointcal::inversePolyTransform | ( | AstrometryTransform const & | forward, |
Frame const & | domain, | ||
double | 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 1149 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 57 of file AstrometryTransform.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::listMatchCollect | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const AstrometryTransform * | guess, | ||
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 568 of file ListMatch.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::listMatchCollect | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
double | maxDist | ||
) |
same as before except that the transform is the identity
Definition at line 614 of file ListMatch.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::listMatchCombinatorial | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const MatchConditions & | conditions = MatchConditions() |
||
) |
Definition at line 679 of file ListMatch.cc.
std::unique_ptr< AstrometryTransform > lsst::jointcal::listMatchRefine | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
std::unique_ptr< AstrometryTransform > | transform, | ||
int | maxOrder = 3 |
||
) |
Definition at line 719 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 490 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 424 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 432 of file ListMatch.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.
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.
AstrometryTransformLinear lsst::jointcal::normalizeCoordinatesTransform | ( | const Frame & | frame | ) |
Returns the transformation that maps the input frame along both axes to [-1,1].
Definition at line 834 of file AstrometryTransform.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | out, |
CcdImageKey const & | key | ||
) |
Definition at line 53 of file CcdImage.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | s, |
Chi2List const & | chi2List | ||
) |
|
inline |
Definition at line 78 of file AstrometryMapping.h.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
AstrometryModel const & | model | ||
) |
Definition at line 42 of file AstrometryModel.cc.
ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
AstrometryTransform const & | transform | ||
) |
Definition at line 242 of file AstrometryTransform.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const Point & | point | ||
) |
Definition at line 70 of file Point.h.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const StarList< Star > & | list | ||
) |
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const StarMatch & | match | ||
) |
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 61 of file StarMatch.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
ProjectionHandler const & | projectionHandler | ||
) |
Definition at line 34 of file Projectionhandler.cc.
std::ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
ProperMotion const & | pm | ||
) |
Definition at line 44 of file ProperMotion.cc.
const BaseStarList & lsst::jointcal::Ref2Base | ( | const RefStarList & | This | ) |
Definition at line 46 of file RefStar.cc.
const BaseStarList * lsst::jointcal::Ref2Base | ( | const RefStarList * | This | ) |
Definition at line 48 of file RefStar.cc.
BaseStarList & lsst::jointcal::Ref2Base | ( | RefStarList & | This | ) |
Definition at line 42 of file RefStar.cc.
BaseStarList * lsst::jointcal::Ref2Base | ( | RefStarList * | This | ) |
Definition at line 44 of file RefStar.cc.
Definition at line 120 of file StarMatch.h.