3 #ifndef GCP_UTIL_STARPLOT_H
4 #define GCP_UTIL_STARPLOT_H
19 #include "gcp/util/common/Angle.h"
20 #include "gcp/util/common/Flux.h"
21 #include "gcp/util/common/FirstFitsReader.h"
22 #include "gcp/util/common/NvssReader.h"
23 #include "gcp/util/common/NedReader.h"
24 #include "gcp/util/common/SzaCalReader.h"
87 void operator=(
const Object& obj) {
91 void operator=(
Object& obj) {
94 survey_ = obj.survey_;
107 nedFlags_ = obj.type_;
108 specInd_ = obj.specInd_;
115 return (obj1.survey_ < obj2.survey_) || (obj1.survey_ == obj2.survey_ && obj1.name_ <= obj2.name_);
120 return (obj1.survey_ == obj2.survey_ && obj1.name_ == obj2.name_);
125 std::string origin();
127 friend std::ostream& operator<<(std::ostream& os,
Object& obj);
160 void setCatalog(std::string catalog);
164 void readCal(std::string catalog);
166 void setLatitude(
Angle latitude);
167 void setLongitude(
Angle longitude);
168 void setElevationLimit(
Angle el);
173 void openDevice(
char* device);
174 void setSiteName(std::string name);
179 void setSunDist(
double dist);
180 void setMoonDist(
double dist);
182 void setSite(std::string site);
183 void setSite(std::string site,
Angle& lat,
Angle& lng);
187 void removeDuplicates();
194 void readPtSrc(std::string survey,
Flux& fmin,
Flux& fmax);
196 void readPtSrc(std::string survey,
Angle& radius,
Angle& lng,
Angle& lat);
198 unsigned addFlags(std::string survey);
201 void clearDisplayLst();
203 void setDisplayMjd(
TimeVal mjd);
204 void clearDisplayMjd();
206 void setRange(
double xa,
double xb,
double ya,
double yb);
210 void searchNed(
double xa,
double xb,
double ya,
double yb);
211 void setSunDist(
Angle& angle);
212 void setMoonDist(
Angle& angle);
218 double parseSexagesimal(
char *
string);
219 double zeap(
double theta);
221 void projectZea(
double az,
double el,
double *x,
double *y);
222 void deprojectZea(
double x,
double y,
Angle& az,
Angle& el);
224 int identify(
double x,
double y);
225 void greekify(
char *input,
char *output);
226 void initBox(
Rect& box);
227 double getTime(
void);
228 void setRadioVis(
int radio_vis);
229 void drawMoon(
double phase,
int bg,
int fg);
230 static int markCmp(
const Mark* a,
const Mark* b);
231 void markStarsFromFile(
char* file);
232 void mjdToDate(
double mjd,
char* date_string,
int size);
233 void listMarkedStars();
237 void drawCircle(
double az,
double el,
Angle& radius,
unsigned npt);
243 std::vector<double>& azs, std::vector<double>& els);
245 std::string catalogFile_;
246 std::vector<Object> starlist_;
253 unsigned markCounter_;
278 std::string siteName_;
279 std::vector<Site> knownSites_;
292 #endif // End #ifndef GCP_UTIL_STARPLOT_H
Definition: NvssReader.h:22
Definition: NedReader.h:28
void setMagLim(double maglim)
Definition: StarPlot.cc:937
StarPlot()
Definition: StarPlot.cc:42
Definition: StarPlot.h:29
Definition: StarPlot.h:142
void plotPolar()
Definition: StarPlot.cc:329
Definition: SzaCalReader.h:21
Definition: FirstFitsReader.h:30
Definition: HourAngle.h:17
Definition: StarPlot.h:130
virtual ~StarPlot()
Definition: StarPlot.cc:97
Definition: PtSrcReader.h:35
Definition: StarPlot.h:137
void readCatalog()
Definition: StarPlot.cc:156
void setFluxLim(Flux flux)
Definition: StarPlot.cc:954
Definition: StarPlot.h:45
void initCatalog()
Definition: StarPlot.cc:126
void getAzElCircle(Angle &az, Angle &el, Angle &radius, unsigned npt, std::vector< double > &azs, std::vector< double > &els)
Definition: StarPlot.cc:1677
Definition: PtSrcReader.h:29
void readCal(std::string catalog)
Definition: StarPlot.cc:164
void showMarkedStars()
Definition: StarPlot.cc:1357