27 #ifndef GPULSAREPHEMERIS_HPP
28 #define GPULSAREPHEMERIS_HPP
60 virtual void clear(
void);
62 virtual std::string
classname(
void)
const;
66 const std::string&
name(
void)
const;
67 void name(
const std::string& name);
74 const std::string&
timesys(
void)
const;
75 void timesys(
const std::string& timesys);
78 double phase(
void)
const;
79 void phase(
const double& phase);
80 double f0(
void)
const;
81 void f0(
const double& f0);
82 double f1(
void)
const;
83 void f1(
const double& f1);
84 double f2(
void)
const;
85 void f2(
const double& f2);
87 const std::string& timesys)
const;
117 return (
"GPulsarEphemeris");
double f2(void) const
Returns pulsar second frequency derivative (s^-3)
double m_f1
Pulsar frequency derivative (s^-2)
Sky direction class interface definition.
const std::string & name(void) const
Returns pulsar name.
GPulsarEphemeris & operator=(const GPulsarEphemeris &ephemeris)
Assignment operator.
const GSkyDir & dir(void) const
Returns pulsar sky direction.
void free_members(void)
Delete class members.
GTime t0(void) const
Returns reference epoch of pulsar ephemeris.
Definition of interface for all GammaLib classes.
void copy_members(const GPulsarEphemeris &ephemeris)
Copy class members.
const std::string & timesys(void) const
Returns pulsar ephemeris time system.
GTime m_tstart
Validity start time.
double m_f0
Pulsar frequency (Hz)
void init_members(void)
Initialise class members.
virtual std::string classname(void) const
Return class name.
virtual void clear(void)
Clear Pulsar ephemeris.
const GTime & tstop(void) const
Returns validity stop time.
double m_f2
Pulsar second frequency derivative (s^-3)
Interface class for all GammaLib classes.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print Pulsar ephemeris.
std::string m_timesys
Time system of pulsar ephemeris.
virtual GPulsarEphemeris * clone(void) const
Clone Pulsar ephemeris.
double m_phase
Pulse phase.
double f1(void) const
Returns pulsar frequency derivative (s^-2)
GSkyDir m_dir
Pulsar sky direction.
GTime m_tstop
Validity stop time.
double f0(void) const
Returns pulsar frequency (Hz)
virtual ~GPulsarEphemeris(void)
Destructor.
GTime m_t0
Reference epoch of pulsar ephemeris.
const GTime & tstart(void) const
Returns validity start time.
Time class interface definition.
std::string m_name
Pulsar name.
GPulsarEphemeris(void)
Void constructor.
double phase(void) const
Returns pulse phase.