My Project
|
Classes | |
struct | Mark |
struct | Object |
struct | Rect |
struct | Site |
Public Types | |
enum | { UNKNOWN = 0x0, SOLAR = 0x2, OPTICAL = 0x4, RADIO = 0x8, SRCLIST = 0x10, NVSS = 0x20, FIRST = 0x40, GCPCAL = 0x80, NED = 0x100 } |
Public Member Functions | |
StarPlot () | |
virtual | ~StarPlot () |
void | initCatalog () |
void | setCatalog (std::string catalog) |
void | readCatalog (std::string catalog) |
void | readCatalog () |
void | readCal (std::string catalog) |
void | setLatitude (Angle latitude) |
void | setLongitude (Angle longitude) |
void | setElevationLimit (Angle el) |
void | plotPolar () |
void | plotPolar (double mjd) |
void | openDevice (char *device) |
void | setSiteName (std::string name) |
void | setMagLim (double maglim) |
void | setFluxLim (Flux flux) |
void | setSunDist (double dist) |
void | setMoonDist (double dist) |
void | setSite (std::string site) |
void | setSite (std::string site, Angle &lat, Angle &lng) |
void | redraw () |
void | removeDuplicates () |
StarPlot::Object | mark (double x, double y) |
void | clearMarks () |
void | showMarkedStars () |
PtSrcReader * | ptSrcReader (std::string survey) |
void | readPtSrc (std::string survey, Flux &fmin, Flux &fmax) |
void | readPtSrc (std::string survey, Flux &fmin, Flux &fmax, Angle &radius, Angle &lng, Angle &lat) |
void | readPtSrc (std::string survey, Angle &radius, Angle &lng, Angle &lat) |
unsigned | addFlags (std::string survey) |
void | setDisplayLst (HourAngle lst) |
void | clearDisplayLst () |
void | setDisplayMjd (TimeVal mjd) |
void | clearDisplayMjd () |
void | setRange (double xa, double xb, double ya, double yb) |
void | setRange (Angle &lat, Angle &lng, Angle &el) |
void | setRange () |
void | searchNed (double xa, double xb, double ya, double yb) |
void | setSunDist (Angle &angle) |
void | setMoonDist (Angle &angle) |
void | drawCircle (double az, double el, Angle &radius, unsigned npt) |
void | getAzElCircle (Angle &az, Angle &el, Angle &radius, unsigned npt, std::vector< double > &azs, std::vector< double > &els) |
Public Attributes | |
std::string | catalogFile_ |
std::vector< Object > | starlist_ |
double | magLim_ |
bool | magLimIsSet_ |
Flux | fluxLim_ |
bool | fluxLimIsSet_ |
unsigned | markCounter_ |
double | maxmag_ |
unsigned | max_ |
gcp::util::Angle | latitude_ |
gcp::util::Angle | longitude_ |
gcp::util::Angle | elLimit_ |
bool | isZoomed_ |
gcp::util::Angle | dispLatitude_ |
gcp::util::Angle | dispLongitude_ |
gcp::util::Angle | dispElLimit_ |
gcp::util::HourAngle | displayLst_ |
bool | lstIsSet_ |
gcp::util::TimeVal | displayMjd_ |
bool | mjdIsSet_ |
int | pgplotId_ |
std::string | siteName_ |
std::vector< Site > | knownSites_ |
NvssReader | nvss_ |
FirstFitsReader | first_ |
SzaCalReader | gcpCal_ |
NedReader | ned_ |
StarPlot::StarPlot | ( | ) |
Constructor.
....................................................................... Read star positions from specified file
|
virtual |
Destructor.
void StarPlot::getAzElCircle | ( | Angle & | az, |
Angle & | el, | ||
Angle & | radius, | ||
unsigned | npt, | ||
std::vector< double > & | azs, | ||
std::vector< double > & | els | ||
) |
....................................................................... Return the az, el of a circle of npts at an angular separation of radius from the fiducial az, el
void StarPlot::initCatalog | ( | ) |
....................................................................... Initialize catalog
void StarPlot::plotPolar | ( | ) |
Plot star positions in zenithal equal-area projection.
void StarPlot::plotPolar | ( | double | mjd | ) |
....................................................................... Make the plot
void StarPlot::readCal | ( | std::string | catalogFile | ) |
....................................................................... Read star positions from specified calfile
void StarPlot::readCatalog | ( | std::string | catalogFile | ) |
....................................................................... Read star positions from specified file
void StarPlot::readCatalog | ( | ) |
....................................................................... Read star positions from specified file
void StarPlot::setFluxLim | ( | Flux | fluxLim | ) |
Select/deselect by flux (ignoring "optical" sources)
void StarPlot::setMagLim | ( | double | maglim | ) |
Select/deselect by magnitude (ignoring "radio" sources)
void StarPlot::setMoonDist | ( | Angle & | angle | ) |
Set the distance from the moon to display
void StarPlot::setSunDist | ( | Angle & | angle | ) |
Set the distance from the sun to display
void StarPlot::showMarkedStars | ( | ) |
List names of all stars with non-zero mark, in numerical order of mark