The class that implements the relations between MeasuredStar and FittedStar. More...
#include <associations.h>
Public Member Functions | |
void | AssignMags () |
Associations (const CatalogLoader &LoadIt=*CatalogLoader::DefaultCatalogLoader) | |
Constructor. The user provides the routine that will turn the input catalog into a MeasuredStarList. More... | |
void | SetCommonTangentPoint (const Point &CommonTangentPoint) |
Sets a tangent point (reasonably centered for the input image set). | |
Point | CommonTangentPoint () const |
can be used to project sidereal coordinates related to the image set on a plane. | |
bool | AddImage (const std::string &ReducedImageName) |
actually imports the catalog and turns it into a MeasuredStarList using the provided "loader". | |
bool | AddImage (const ReducedImage &Ri) |
same as above | |
void | AssociateCatalogs (const double MatchCutInArcSec=0, const bool UseFittedList=false, const bool EnlargeFittedList=true) |
incrementaly builds a merged catalog of all image catalogs | |
void | RefitWCSs (const unsigned Order) |
refit (independentlyy) all WCSs using the current fittedStarList More... | |
void | CollectRefStars (const bool ProjectOnTP=true) |
Collect stars form an external reference catalog (USNO-A by default) that match the FittedStarList. Optionally project these RefStar s on the tangent plane defined by the CommonTangentPoint(). | |
void | CollectMCStars (int realization=-1) |
This is Monte-Carlo stuff – to remove this from associations the Association class should provide us w/ iterators and acceptors that way, all the MC stuff could be removed. | |
void | CollectPhotometricRefStars (std::string const &catalogname) |
This method associates the catalogs with an external catalog of photometric ref stars. | |
void | AssociatePhotometricRefStars (double MatchCutInArcSec) |
unsigned int | GetNbAssociatedPhotometricRefStars () const |
void | DeprojectFittedStars () |
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps track of that. | |
void | SetFittedStarColors (std::string DicStarListName, std::string Color, const double &MatchCutArcSec) |
Set the color field of FittedStar 's from a colored catalog. | |
void | SelectFittedStars () |
apply cuts (mainly number of measurements) on potential FittedStars | |
void | RefineFittedStars () |
void | check_refcounts () |
void | PrintStats () const |
const CcdImageList & | TheCcdImageList () const |
void | SetFittedStarList (const FittedStarList &L) |
void | AssignIndexes () |
unsigned int | NShoots () const |
unsigned | NBands () const |
Number of different bands in the input image list. Not implemented so far. | |
Public Attributes | |
StringList | imageNames |
CcdImageList | ccdImageList |
RefStarList | refStarList |
RefStarList | photRefStarList |
FittedStarList | fittedStarList |
Point | commonTangentPoint |
const CatalogLoader * | load_it |
The class that implements the relations between MeasuredStar and FittedStar.
Associations::Associations | ( | const CatalogLoader & | LoadIt = *CatalogLoader::DefaultCatalogLoader | ) |
Constructor. The user provides the routine that will turn the input catalog into a MeasuredStarList.
We should probably consider a different design and let the used just take care of that.
void Associations::RefitWCSs | ( | const unsigned | Order | ) |
refit (independentlyy) all WCSs using the current fittedStarList
uses the MeasuredStar -> FittedStar association as it is now to refit the image WCSs. useful after a global fit to refine WCSs before rerunning associations