-
Notifications
You must be signed in to change notification settings - Fork 7
/
ConstSpec.h
17 lines (15 loc) · 957 Bytes
/
ConstSpec.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define TSUN 4.92569043916e-6 // mass to seconds conversion
#define PI 3.1415926535897931159979634685442 // Pi
#define PI2 9.869604401089357992304940125905 // Pi^2
#define TPI 6.2831853071795862319959269370884 // 2 Pi
#define RT2PI 2.5066282746310005024 // sqrt(2 Pi)
#define RTPI 1.772453850905516 // sqrt(Pi)
#define RT2 1.414213562373095 // sqrt(2)
#define IRT2 0.707106781186547549 // 1/sqrt(2)
#define TRT2 2.8284271247461901 // 2*sqrt(2)
#define LN2 0.6931471805599453 // ln 2
#define MSUN_SI 1.988546954961461467461011951140572744e30
#define Qs 8.0 // Q used in the glitch cleaning for spectral estimation
#define Qprint 8.0 // Q used in plots
#define fsp 8.0 // spacing of spline points in Hz
#define spline 0 // use spline smoothing when set to 1