11 #ifndef __Tempo_Observatory_h
12 #define __Tempo_Observatory_h
14 #include "Pulsar/Site.h"
33 void set_itoa_code ( const std::string&);
37 void set_name ( const std::string&);
42 std::string itoa_code;
52 ObservatoryITRF ( double x, double y, double z);
55 virtual void get_xyz ( double& x, double& y, double& z) const;
59 virtual void get_sph ( double& lat, double& lon, double& rad) const;
65 class ObservatoryIAU1976 : public Observatory
70 ObservatoryIAU1976 ( double alat, double alon, double elev);
73 virtual void get_xyz ( double& x, double& y, double& z) const;
77 virtual void get_sph ( double& lat, double& lon, double& rad) const;
std::string get_name() const Get the observatory name. Definition: Observatory.C:48
Interface to Tempo. Definition: fit.C:21
A convenient exception handling class. Definition: Error.h:54
char code(const std::string &telescope_name) Convert a telescope name to a single-character tempo code. Definition: tempo++.C:167
const Observatory * observatory(const std::string &telescope_name) Return the Observatory data given the telescope name. Definition: Observatory.C:130
Observatory data available from TEMPO. Definition: Observatory.h:25
Observatory() Default constructor. Definition: Observatory.C:19
std::string get_itoa_code() const Get the two-letter ITOA code. Definition: Observatory.C:34
char get_code() const Get the one-letter tempo code. Definition: Observatory.C:24
Site coordinates. Definition: Site.h:25
Generated using doxygen 1.8.17
|