|
| polyco () |
| Default constructor.
|
| polyco (const polyco &) |
| Copy constructor.
|
const polyco & | operator= (const polyco &) |
| Assignment operator.
|
| ~polyco () |
| Destructor.
|
Predictor * | clone () const |
| Return a new, copy constructed instance of self.
|
Pulsar::Generator * | generator () const |
| Return a new Generator set up to produce a new Predictor like self.
|
void | insert (const Predictor *) |
| Add the information from the supplied predictor to self.
|
void | keep (const std::vector< MJD > &epochs) |
| Keep only the components required to span the given epochs.
|
bool | matches (const Predictor *) const |
| Return true if the Predictor configuration matches this.
|
void | set_observing_frequency (long double MHz) |
| Set the observing frequency at which predictions will be made.
|
long double | get_observing_frequency () const |
| Get the observing frequency at which phase and epoch are related.
|
Pulsar::Phase | phase (const MJD &t) const |
| Return the phase, given the epoch.
|
Pulsar::Phase | phase (const MJD &t, long double MHz) const |
| Return the phase plus the dispersion delay.
|
MJD | iphase (const Pulsar::Phase &phase, const MJD *guess=0) const |
| Return the epoch, given the phase.
|
long double | frequency (const MJD &t) const |
| Return the spin frequency, given the epoch.
|
Pulsar::Phase | dispersion (const MJD &t, long double MHz) const |
| Return the phase correction for dispersion delay.
|
void | load (FILE *) |
| Load from an open stream.
|
void | unload (FILE *) const |
| Unload to an open stream.
|
| polyco (const std::string &id) |
| Load in polycos.
|
int | load (const std::string &filename) |
| these functions return the number of polynomials successfully loaded
|
int | load (std::string *instr) |
int | unload (const std::string &filename) const |
int | unload (std::string *outstr) const |
void | append (const polyco &poly) |
void | prettyprint () const |
const polynomial * | nearest (const MJD &t) const |
const polynomial & | best (const MJD &t) const |
const polynomial & | best (const Pulsar::Phase &p) const |
int | i_nearest (const MJD &t, bool throw_exception=false) const |
int | i_nearest (const Pulsar::Phase &p, bool throw_exception=false) const |
double | doppler_shift (const MJD &t) const |
double | period (const MJD &t) const |
double | chirp (const MJD &t) const |
double | accel (const MJD &t) const |
char | get_telescope () const |
double | get_freq () const |
MJD | get_reftime () const |
double | get_refperiod () const |
double | get_nspan () const |
float | get_dm () const |
int | get_ncoeff () const |
std::string | get_psrname () const |
bool | is_tempov11 () const |
MJD | start_time () const |
MJD | end_time () const |
Pulsar::Phase | start_phase () const |
Pulsar::Phase | end_phase () const |
virtual void | insert (const Predictor *)=0 |
| Add the information from the supplied predictor to self.
|
virtual bool | matches (const Predictor *) const =0 |
| Return true if the Predictor configuration matches this.
|
virtual void | load_file (const std::string &filename) |
| Load from the specified file.
|
virtual void | unload_file (const std::string &filename) const |
| Unload to the specified file.
|
| Able () |
| Default constructor.
|
| Able (const Able &) |
| Copy constructor.
|
Able & | operator= (const Able &) |
| Assignment operator.
|
virtual | ~Able () |
| Destructor.
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
| HeapTracked () |
| Default constructor.
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
virtual | ~HeapTracked () |
| Destructor.
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|
enum | Policy { Input
, Default
, Ephemeris
} |
| Policy for creating new predictors. More...
|
static Configuration::Parameter< Policy > & | get_policy () |
| Policy for creating new predictors.
|
static void | children (std::vector< Reference::To< Predictor > > &) |
| Factory helper creates a vector of pointers to derived class instances.
|
static size_t | get_instance_count () |
| Returns the current number instances in existence.
|
static void * | operator new (size_t size, void *ptr=0) |
| Records the addresses of new instances allocated on the heap.
|
static void | operator delete (void *location, void *ptr) |
| Placement delete overload to match the placement new overload.
|
static void | operator delete (void *location) |
| Regular delete overload.
|
static size_t | get_heap_queue_size () |
| Return the number of heap addresses awaiting processing.
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object.
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object.
|
Implements Predictor class for Tempo.