psrephem_orbital.h
1/***************************************************************************
2 *
3 * Copyright (C) 2003 by Aidan Hotan
4 * Licensed under the Academic Free License version 2.1
5 *
6 ***************************************************************************/
7
8#ifndef __PSREPHEM_ORBITAL_H
9#define __PSREPHEM_ORBITAL_H
10
11#include "psrephem.h"
12
13// TDB corresponding to MJD
14
15double get_bcmjd(double mjd, const Legacy::psrephem& eph, double freq, char site);
16
17// Orbital phase of periastron at bcmjd (0.0 - 1.0))
18
19double get_periphs(double bcmjd, const Legacy::psrephem& eph);
20
21// Binary phase wrt periastron (0.0 - 1.0)
22
23double get_binphs_peri(double mjd, const Legacy::psrephem& eph, double freq, char site);
24
25// Binary phase wrt ascending node (0.0 - 1.0)
26
27double get_binphs_asc(double mjd, const Legacy::psrephem& eph, double freq, char site);
28
29// Binary longitude wrt periastron (true anomaly) (deg)
30
31double get_binlng_peri(double mjd, const Legacy::psrephem& eph, double freq, char site);
32
33// Binary longitude wrt ascending node (true anomaly + omega) (deg)
34
35double get_binlng_asc(double mjd, const Legacy::psrephem& eph, double freq, char site);
36
37const Legacy::psrephem* new_psrephem (const Pulsar::Parameters*);
38
39#endif
40
Storage of pulsar parameters used to create a Predictor.
Definition Parameters.h:23

Generated using doxygen 1.14.0