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;
74 const std::string&
timesys(
void)
const;
78 double phase(
void)
const;
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");
Definition of interface for all GammaLib classes.
Sky direction class interface definition.
Time class interface definition.
Interface class for all GammaLib classes.
double m_phase
Pulse phase.
const GTime & tstop(void) const
Returns validity stop time.
GPulsarEphemeris(void)
Void constructor.
GPulsarEphemeris & operator=(const GPulsarEphemeris &ephemeris)
Assignment operator.
void copy_members(const GPulsarEphemeris &ephemeris)
Copy class members.
virtual ~GPulsarEphemeris(void)
Destructor.
void init_members(void)
Initialise class members.
double m_f2
Pulsar second frequency derivative (s^-3)
virtual GPulsarEphemeris * clone(void) const
Clone Pulsar ephemeris.
void free_members(void)
Delete class members.
GSkyDir m_dir
Pulsar sky direction.
GTime m_tstart
Validity start time.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print Pulsar ephemeris.
const std::string & timesys(void) const
Returns pulsar ephemeris time system.
double f0(void) const
Returns pulsar frequency (Hz)
GTime t0(void) const
Returns reference epoch of pulsar ephemeris.
double f1(void) const
Returns pulsar frequency derivative (s^-2)
std::string m_name
Pulsar name.
virtual std::string classname(void) const
Return class name.
virtual void clear(void)
Clear Pulsar ephemeris.
double m_f1
Pulsar frequency derivative (s^-2)
GTime m_t0
Reference epoch of pulsar ephemeris.
const std::string & name(void) const
Returns pulsar name.
double f2(void) const
Returns pulsar second frequency derivative (s^-3)
GTime m_tstop
Validity stop time.
double m_f0
Pulsar frequency (Hz)
double phase(void) const
Returns pulse phase.
const GSkyDir & dir(void) const
Returns pulsar sky direction.
std::string m_timesys
Time system of pulsar ephemeris.
const GTime & tstart(void) const
Returns validity start time.