3 #ifndef ASSOCIATIONS__H
4 #define ASSOCIATIONS__H
9 #include "stringlist.h"
20 StringList imageNames;
21 CcdImageList ccdImageList;
22 RefStarList refStarList;
23 RefStarList photRefStarList;
27 Point commonTangentPoint;
29 const CatalogLoader * load_it;
37 Associations(
const CatalogLoader & LoadIt = *CatalogLoader::DefaultCatalogLoader);
47 bool AddImage(
const std::string &ReducedImageName);
50 bool AddImage(
const ReducedImage &Ri);
54 const bool UseFittedList =
false,
55 const bool EnlargeFittedList =
true);
77 void AssociatePhotometricRefStars(
double MatchCutInArcSec);
78 unsigned int GetNbAssociatedPhotometricRefStars()
const {
return nb_photref_associations; }
87 const double &MatchCutArcSec);
94 void RefineFittedStars();
96 void check_refcounts();
98 void PrintStats()
const;
100 const CcdImageList& TheCcdImageList()
const {
return ccdImageList;}
104 void AssignIndexes();
106 unsigned int NShoots()
const {
return nshoots_; }
113 void AssociateRefStars(
const double &MatchCutInArcSec,
const Gtransfo *T);
114 unsigned int nshoots_;
115 unsigned int nb_photref_associations;
void CollectPhotometricRefStars(std::string const &catalogname)
This method associates the catalogs with an external catalog of photometric ref stars.
Definition: associations.cc:406
void CollectMCStars(int realization=-1)
This is Monte-Carlo stuff – to remove this from associations the Association class should provide us ...
void CollectRefStars(const bool ProjectOnTP=true)
Collect stars form an external reference catalog (USNO-A by default) that match the FittedStarList...
Definition: associations.cc:219
Associations(const CatalogLoader &LoadIt=*CatalogLoader::DefaultCatalogLoader)
Constructor. The user provides the routine that will turn the input catalog into a MeasuredStarList...
Definition: associations.cc:22
A list of FittedStar s. Such a list is typically constructed by Associations.
Definition: fittedstar.h:158
void SetCommonTangentPoint(const Point &CommonTangentPoint)
Sets a tangent point (reasonably centered for the input image set).
Definition: associations.h:40
The class that implements the relations between MeasuredStar and FittedStar.
Definition: associations.h:17
void AssociateCatalogs(const double MatchCutInArcSec=0, const bool UseFittedList=false, const bool EnlargeFittedList=true)
incrementaly builds a merged catalog of all image catalogs
Definition: associations.cc:95
Point CommonTangentPoint() const
can be used to project sidereal coordinates related to the image set on a plane.
Definition: associations.h:44
bool AddImage(const std::string &ReducedImageName)
actually imports the catalog and turns it into a MeasuredStarList using the provided "loader"...
Definition: associations.cc:30
void SelectFittedStars()
apply cuts (mainly number of measurements) on potential FittedStars
Definition: associations.cc:538
void DeprojectFittedStars()
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps t...
Definition: associations.cc:681
void SetFittedStarColors(std::string DicStarListName, std::string Color, const double &MatchCutArcSec)
Set the color field of FittedStar 's from a colored catalog.
Definition: associations.cc:693
unsigned NBands() const
Number of different bands in the input image list. Not implemented so far.
Definition: associations.h:109
void RefitWCSs(const unsigned Order)
refit (independentlyy) all WCSs using the current fittedStarList
Definition: associations.cc:607