lsst.jointcal
master-gc935ebf72c+13
|
Namespaces | |
dataIds | |
jointcal | |
jointcalCoadd | |
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 | AstrometryModel |
Interface class between AstrometryFit and an actual model for the Mapping (s) from pixels to some tangent plane (aka distortions). More... | |
class | BaseStar |
The base class for handling stars. Used by all matching routines. More... | |
class | CcdImage |
Handler of an actual image from a single CCD. More... | |
struct | Chi2 |
Simple structure to accumulate Chi2 and Ndof. More... | |
class | ConstrainedPolyModel |
This is the model used to fit mappings as the combination of a transformation depending on the chip number (instrument model) and a transformation per visit (anamorphism). More... | |
class | FastFinder |
This is an auxillary class for matching objects from starlists. More... | |
class | FatPoint |
A Point with uncertainties. More... | |
struct | PmBlock |
objects whose position is going to be fitted. Coordinates in Common Tangent Plane. 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 | Frame |
rectangle with sides parallel to axes. More... | |
class | Gtransfo |
a virtual (interface) class for geometric transformations. More... | |
class | GtransfoIdentity |
A do-nothing transformation. It anyway has dummy routines to mimick a Gtransfo. More... | |
class | GtransfoPoly |
Polynomial transformation class. More... | |
class | GtransfoLin |
implements the linear transformations (6 real coefficients). More... | |
class | GtransfoLinShift |
just here to provide a specialized constructor, and fit. More... | |
class | GtransfoLinRot |
just here to provide a specialized constructor, and fit. More... | |
class | GtransfoLinScale |
just here to provide specialized constructors. GtransfoLin fit routine. More... | |
class | BaseTanWcs |
class | TanPix2RaDec |
the transformation that handles pix to sideral transfos (Gnomonic, possibly with polynomial distortions). More... | |
class | TanSipPix2RaDec |
Implements the (forward) SIP distorsion scheme. More... | |
class | TanRaDec2Pix |
This one is the Tangent Plane (called gnomonic) projection (from celestial sphere to tangent plane) More... | |
class | UserTransfo |
a run-time transfo that allows users to define a Gtransfo with minimal coding (just the transfo routine). More... | |
class | Histo2d |
class | SparseHisto4d |
A class to histogram in 4 dimensions. More... | |
struct | JointcalControl |
struct | MatchConditions |
Parameters to be provided to combinatorial searches. More... | |
class | Mapping |
virtual class needed in the abstraction of the distortion model More... | |
class | MeasuredStar |
objects measured on actual images. More... | |
class | MeasuredStarList |
A list of MeasuredStar. They are usually filled in Associations::AddImage. More... | |
class | PhotometryFit |
Class that handles the photometric least squares problem. More... | |
class | PhotometryModel |
Interface class for PhotometryFit. More... | |
class | Point |
A point in a plane. More... | |
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 | IdentityProjectionHandler |
The simplest implementation of ProjectionHandler. More... | |
class | OneTPPerVisitHandler |
A projection handler in which all CCDs from the same visit have the same tangent point. More... | |
class | RefStar |
Objects used as position anchors, typically USNO stars. More... | |
class | RefStarList |
class | SimplePhotometryModel |
Photometric response model which has a single photometric factor per CcdImage. More... | |
class | SimpleGtransfoMapping |
class | SimplePolyMapping |
Mapping implementation for a polynomial transformation. More... | |
class | SimplePolyModel |
this is the model used to fit independent CCDs, meaning that there is no instrument model. More... | |
class | StarList |
std::lists of Stars. More... | |
class | StarMatch |
A hanger for star associations. More... | |
class | StarMatchList |
class | TripletList |
class | TwoTransfoMapping |
The mapping with two transfos in a row. More... | |
struct | Chi2Entry |
a class to accumulate chi2 contributions together with pointers to the contributors. More... | |
struct | Chi2Vect |
class | GtransfoInverse |
class | GtransfoComposition |
Private class to handle Gtransfo compositions (i.e. More... | |
class | PolyXY |
struct | Segment |
class | SegmentList |
struct | SegmentPair |
Typedefs | |
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 void( | GtransfoFun )(const double, const double, double &, double &, const void *) |
signature of the user-provided routine that actually does the coordinate transfo for UserTransfo. More... | |
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 >> |
typedef std::shared_ptr < jointcal::GtransfoPoly > | GtPoly_Ptr |
Enumerations | |
enum | WhichFrame { WholeSizeFrame, ClippedSizeFrame } |
enum | WhichTransformed { LargeFrame, SmallFrame } |
Functions | |
Frame | applyTransfo (const Frame &inputframe, const Gtransfo >ransfo, const WhichTransformed which) |
Transform a Frame through a Transfo. More... | |
bool | decreasingFlux (const BaseStar *star1, const BaseStar *star2) |
enables to sort easily a starList (of anything that derives from BaseStar) More... | |
int | decodeFormat (const char *formatLine, const char *starName) |
BaseStarList & | Fitted2Base (FittedStarList &This) |
BaseStarList * | Fitted2Base (FittedStarList *This) |
const BaseStarList & | Fitted2Base (const FittedStarList &This) |
const BaseStarList * | Fitted2Base (const FittedStarList *This) |
std::ostream & | operator<< (std::ostream &stream, const Gtransfo >ransfo) |
allows 'stream << Transfo;' (by calling gtransfo.dump(stream)). More... | |
std::unique_ptr< Gtransfo > | gtransfoCompose (const Gtransfo *left, const Gtransfo *right) |
Returns a pointer to a composition. More... | |
bool | isIdentity (const Gtransfo *gtransfo) |
Shorthand test to tell if a transfo belongs to the GtransfoIdentity class. More... | |
bool | isIntegerShift (const Gtransfo *gtransfo) |
Shorthand test to tell if a transfo is a simple integer shift. More... | |
std::unique_ptr< GtransfoPoly > | inversePolyTransfo (const Gtransfo &Direct, const Frame &frame, const double Prec) |
approximates the inverse by a polynomial, up to required precision. More... | |
GtransfoLin | normalizeCoordinatesTransfo (const Frame &frame) |
Returns the transformation that maps the input frame along both axes to [-1,1]. More... | |
std::unique_ptr< Gtransfo > | gtransfoRead (const std::string &fileName) |
The virtual constructor from a file. More... | |
std::unique_ptr< Gtransfo > | gtransfoRead (std::istream &s) |
The virtual constructor from a file. More... | |
std::unique_ptr< StarMatchList > | matchSearchRotShift (BaseStarList &list1, BaseStarList &list2, const MatchConditions &conditions) |
searches a geometrical transformation that goes from list1 to list2. More... | |
std::unique_ptr< StarMatchList > | matchSearchRotShiftFlip (BaseStarList &list1, BaseStarList &list2, const MatchConditions &conditions) |
same as above but searches also a flipped solution. More... | |
std::unique_ptr< StarMatchList > | listMatchCollect (const BaseStarList &list1, const BaseStarList &list2, const Gtransfo *guess, const double maxDist) |
assembles star matches. More... | |
std::unique_ptr< StarMatchList > | listMatchCollect (const BaseStarList &list1, const BaseStarList &list2, const double maxDist) |
same as before except that the transfo is the identity More... | |
std::unique_ptr< GtransfoLin > | listMatchupShift (const BaseStarList &list1, const BaseStarList &list2, const Gtransfo >ransfo, double maxShift, double binSize=0) |
searches for a 2 dimensional shift using a very crude histogram method. More... | |
std::unique_ptr< Gtransfo > | listMatchCombinatorial (const BaseStarList &list1, const BaseStarList &list2, const MatchConditions &conditions=MatchConditions()) |
std::unique_ptr< Gtransfo > | listMatchRefine (const BaseStarList &list1, const BaseStarList &list2, std::unique_ptr< Gtransfo > transfo, const int maxOrder=3) |
BaseStarList & | Measured2Base (MeasuredStarList &This) |
BaseStarList * | Measured2Base (MeasuredStarList *This) |
const BaseStarList & | Measured2Base (const MeasuredStarList &This) |
const BaseStarList * | Measured2Base (const MeasuredStarList *This) |
std::ostream & | operator<< (std::ostream &stream, const Point &point) |
BaseStarList & | Ref2Base (RefStarList &This) |
BaseStarList * | Ref2Base (RefStarList *This) |
const BaseStarList & | Ref2Base (const RefStarList &This) |
const BaseStarList * | Ref2Base (const RefStarList *This) |
TanSipPix2RaDec | convertTanWcs (const std::shared_ptr< lsst::afw::image::TanWcs > wcs) |
Transform an afw TanWcs into a Gtransfo. More... | |
boost::shared_ptr < lsst::afw::image::TanWcs > | gtransfoToTanWcs (const lsst::jointcal::TanSipPix2RaDec wcsTransfo, const lsst::jointcal::Frame &ccdFrame, const bool noLowOrderSipTerms=false) |
Transform the other way around. More... | |
template<class Star > | |
std::ostream & | operator<< (std::ostream &stream, const StarList< Star > &list) |
enables More... | |
bool | compareStar1 (const StarMatch &one, const StarMatch &two) |
bool | sameStar1 (const StarMatch &one, const StarMatch &two) |
bool | compareStar2 (const StarMatch &one, const StarMatch &two) |
bool | sameStar2 (const StarMatch &one, const StarMatch &two) |
std::ostream & | operator<< (std::ostream &stream, const StarMatch &match) |
std::ostream & | operator<< (std::ostream &stream, const StarMatchList &starMatchList) |
A std::list of star matches,. More... | |
double | computeDist2 (const StarMatchList &S, const Gtransfo >ransfo) |
sum of distance squared More... | |
double | computeChi2 (const StarMatchList &L, const Gtransfo >ransfo) |
the actual chi2 More... | |
bool | increasingMag (const BaseStar *star1, const BaseStar *star2) |
Variables | |
tuple | __path__ = pkgutil.extend_path(__path__, __name__) |
typedef BaseStarList::const_iterator lsst::jointcal::BaseStarCIterator |
Definition at line 83 of file BaseStar.h.
typedef BaseStarList::iterator lsst::jointcal::BaseStarIterator |
Definition at line 84 of file BaseStar.h.
typedef StarList<BaseStar> lsst::jointcal::BaseStarList |
Definition at line 81 of file BaseStar.h.
typedef int lsst::jointcal::CcdIdType |
Definition at line 25 of file CcdImage.h.
typedef std::list<std::shared_ptr<CcdImage> > lsst::jointcal::CcdImageList |
Definition at line 22 of file CcdImage.h.
typedef FittedStarList::const_iterator lsst::jointcal::FittedStarCIterator |
Definition at line 142 of file FittedStar.h.
typedef FittedStarList::iterator lsst::jointcal::FittedStarIterator |
Definition at line 143 of file FittedStar.h.
typedef std::shared_ptr<jointcal::GtransfoPoly> lsst::jointcal::GtPoly_Ptr |
Definition at line 17 of file SipToGtransfo.cc.
typedef void( lsst::jointcal::GtransfoFun)(const double, const double, double &, double &, const void *) |
signature of the user-provided routine that actually does the coordinate transfo for UserTransfo.
Definition at line 559 of file Gtransfo.h.
using lsst::jointcal::Iterator = typedef FastFinder::Iterator |
Definition at line 155 of file FastFinder.cc.
typedef MeasuredStarList::const_iterator lsst::jointcal::MeasuredStarCIterator |
Definition at line 78 of file MeasuredStar.h.
typedef MeasuredStarList::iterator lsst::jointcal::MeasuredStarIterator |
Definition at line 79 of file MeasuredStar.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 69 of file ListMatch.cc.
typedef std::list<Segment>::iterator lsst::jointcal::SegmentIterator |
Definition at line 68 of file ListMatch.cc.
typedef std::list<SegmentPair> lsst::jointcal::SegmentPairList |
Definition at line 96 of file ListMatch.cc.
typedef SegmentPairList::const_iterator lsst::jointcal::SegmentPairListCIterator |
Definition at line 98 of file ListMatch.cc.
typedef SegmentPairList::iterator lsst::jointcal::SegmentPairListIterator |
Definition at line 97 of file ListMatch.cc.
using lsst::jointcal::SolList = typedef std::list<std::unique_ptr<StarMatchList>> |
Definition at line 134 of file ListMatch.cc.
typedef ::std::list<StarMatch>::const_iterator lsst::jointcal::StarMatchCIterator |
Definition at line 112 of file StarMatch.h.
typedef ::std::list<StarMatch>::iterator lsst::jointcal::StarMatchIterator |
Definition at line 111 of file StarMatch.h.
typedef Eigen::Triplet<double> lsst::jointcal::Trip |
Definition at line 12 of file Tripletlist.h.
typedef int lsst::jointcal::VisitIdType |
Definition at line 24 of file CcdImage.h.
Frame lsst::jointcal::applyTransfo | ( | const Frame & | inputframe, |
const Gtransfo & | gtransfo, | ||
const WhichTransformed | which | ||
) |
Transform a Frame through a Transfo.
Definition at line 15 of file AstroUtils.cc.
|
inline |
Definition at line 93 of file StarMatch.h.
|
inline |
Definition at line 99 of file StarMatch.h.
double lsst::jointcal::computeChi2 | ( | const StarMatchList & | L, |
const Gtransfo & | gtransfo | ||
) |
the actual chi2
Definition at line 219 of file StarMatch.cc.
double lsst::jointcal::computeDist2 | ( | const StarMatchList & | S, |
const Gtransfo & | gtransfo | ||
) |
sum of distance squared
Definition at line 212 of file StarMatch.cc.
jointcal::TanSipPix2RaDec lsst::jointcal::convertTanWcs | ( | const std::shared_ptr< lsst::afw::image::TanWcs > | wcs | ) |
Transform an afw TanWcs into a Gtransfo.
Definition at line 19 of file SipToGtransfo.cc.
int lsst::jointcal::decodeFormat | ( | const char * | formatLine, |
const char * | starName | ||
) |
Definition at line 24 of file BaseStar.cc.
bool lsst::jointcal::decreasingFlux | ( | const BaseStar * | star1, |
const BaseStar * | star2 | ||
) |
enables to sort easily a starList (of anything that derives from BaseStar)
Definition at line 14 of file BaseStar.cc.
BaseStarList & lsst::jointcal::Fitted2Base | ( | FittedStarList & | This | ) |
Definition at line 52 of file FittedStar.cc.
BaseStarList * lsst::jointcal::Fitted2Base | ( | FittedStarList * | This | ) |
Definition at line 54 of file FittedStar.cc.
const BaseStarList & lsst::jointcal::Fitted2Base | ( | const FittedStarList & | This | ) |
Definition at line 56 of file FittedStar.cc.
const BaseStarList * lsst::jointcal::Fitted2Base | ( | const FittedStarList * | This | ) |
Definition at line 58 of file FittedStar.cc.
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoCompose | ( | const Gtransfo * | left, |
const Gtransfo * | right | ||
) |
Returns a pointer to a composition.
This routine implements "run-time" compositions.
if left->reduceCompo(right) return NULL, builds a GtransfoComposition and returns it. deletion of returned value to be done by caller
When there is a possible "reduction" (e.g. compositions of polynomials), gtransfoCompose detects it and returns a genuine Gtransfo.
Definition at line 367 of file Gtransfo.cc.
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoRead | ( | const std::string & | fileName | ) |
The virtual constructor from a file.
Definition at line 1587 of file Gtransfo.cc.
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoRead | ( | std::istream & | s | ) |
The virtual constructor from a file.
Definition at line 1601 of file Gtransfo.cc.
boost::shared_ptr< afwImg::TanWcs > lsst::jointcal::gtransfoToTanWcs | ( | const lsst::jointcal::TanSipPix2RaDec | wcsTransfo, |
const lsst::jointcal::Frame & | ccdFrame, | ||
const bool | noLowOrderSipTerms = false |
||
) |
Transform the other way around.
Definition at line 93 of file SipToGtransfo.cc.
bool lsst::jointcal::increasingMag | ( | const BaseStar * | star1, |
const BaseStar * | star2 | ||
) |
Definition at line 18 of file BaseStar.cc.
std::unique_ptr< GtransfoPoly > lsst::jointcal::inversePolyTransfo | ( | const Gtransfo & | Direct, |
const Frame & | frame, | ||
const double | Prec | ||
) |
approximates the inverse by a polynomial, up to required precision.
Definition at line 1013 of file Gtransfo.cc.
bool lsst::jointcal::isIdentity | ( | const Gtransfo * | gtransfo | ) |
Shorthand test to tell if a transfo belongs to the GtransfoIdentity class.
Definition at line 27 of file Gtransfo.cc.
bool lsst::jointcal::isIntegerShift | ( | const Gtransfo * | gtransfo | ) |
Shorthand test to tell if a transfo is a simple integer shift.
Definition at line 33 of file Gtransfo.cc.
std::unique_ptr< StarMatchList > lsst::jointcal::listMatchCollect | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const Gtransfo * | 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 540 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 transfo is the identity
Definition at line 586 of file ListMatch.cc.
std::unique_ptr< Gtransfo > lsst::jointcal::listMatchCombinatorial | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const MatchConditions & | conditions = MatchConditions() |
||
) |
Definition at line 649 of file ListMatch.cc.
std::unique_ptr< Gtransfo > lsst::jointcal::listMatchRefine | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
std::unique_ptr< Gtransfo > | transfo, | ||
const int | maxOrder = 3 |
||
) |
Definition at line 688 of file ListMatch.cc.
std::unique_ptr< GtransfoLin > lsst::jointcal::listMatchupShift | ( | const BaseStarList & | list1, |
const BaseStarList & | list2, | ||
const Gtransfo & | gtransfo, | ||
double | maxShift, | ||
double | binSize = 0 |
||
) |
searches for a 2 dimensional shift using a very crude histogram method.
Definition at line 466 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 402 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 410 of file ListMatch.cc.
BaseStarList & lsst::jointcal::Measured2Base | ( | MeasuredStarList & | This | ) |
Definition at line 35 of file MeasuredStar.cc.
BaseStarList * lsst::jointcal::Measured2Base | ( | MeasuredStarList * | This | ) |
Definition at line 37 of file MeasuredStar.cc.
const BaseStarList & lsst::jointcal::Measured2Base | ( | const MeasuredStarList & | This | ) |
Definition at line 39 of file MeasuredStar.cc.
const BaseStarList * lsst::jointcal::Measured2Base | ( | const MeasuredStarList * | This | ) |
Definition at line 41 of file MeasuredStar.cc.
GtransfoLin lsst::jointcal::normalizeCoordinatesTransfo | ( | const Frame & | frame | ) |
Returns the transformation that maps the input frame along both axes to [-1,1].
Definition at line 725 of file Gtransfo.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 32 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 Gtransfo::fit routines. There is as
well a StarMatch::fit routine which fits a polynomial by default, although the transfo may be user-provided. The StarMatchList::refineTransfo 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 38 of file StarMatch.cc.
ostream & lsst::jointcal::operator<< | ( | std::ostream & | stream, |
const Gtransfo & | gtransfo | ||
) |
allows 'stream << Transfo;' (by calling gtransfo.dump(stream)).
Definition at line 193 of file Gtransfo.cc.
BaseStarList & lsst::jointcal::Ref2Base | ( | RefStarList & | This | ) |
Definition at line 23 of file RefStar.cc.
BaseStarList * lsst::jointcal::Ref2Base | ( | RefStarList * | This | ) |
Definition at line 25 of file RefStar.cc.
const BaseStarList & lsst::jointcal::Ref2Base | ( | const RefStarList & | This | ) |
Definition at line 27 of file RefStar.cc.
const BaseStarList * lsst::jointcal::Ref2Base | ( | const RefStarList * | This | ) |
Definition at line 29 of file RefStar.cc.
|
inline |
Definition at line 97 of file StarMatch.h.
|
inline |
Definition at line 103 of file StarMatch.h.
tuple lsst.jointcal.__path__ = pkgutil.extend_path(__path__, __name__) |
Definition at line 13 of file __init__.py.