LALPulsar  6.1.0.1-b72065a
test_simulateCW Namespace Reference

Functions

def waveform (h0, cosi, freq, f1dot)
 
def compute_Fstat_spindown_reference ()
 
def compute_Fstat_spindown_simulateCW ()
 
def test_fstatistic ()
 
def test_random_seeds ()
 

Variables

 earth_ephem_file
 
 sun_ephem_file
 
 ephemerides = lalpulsar.InitBarycenter(earth_ephem_file, sun_ephem_file)
 
int h0 = 1e-24
 
int assume_sqrtSh = 1e-23
 
float cosi = 0.123
 
float psi = 2.345
 
float phi0 = 3.210
 
float freq = 10.0
 
float fcmin = 5.0
 
float fcmax = 15.0
 
float f1dot = -1.35e-8
 
float alpha = 6.12
 
float delta = 1.02
 
string detector = "V1"
 
int tref = 900043200
 
int tstart = 900000000
 
int Tdata = 86400
 
float fmax = 32.0
 
int Tsft = 1800
 
float dfreq = 0.1 / Tdata
 
int Nfs = 111
 
float fsmin = freq - (Nfs - 1) * 0.5 * dfreq
 
 args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-simulateCW.xml"]
 

Function Documentation

◆ waveform()

def test_simulateCW.waveform (   h0,
  cosi,
  freq,
  f1dot 
)

Definition at line 73 of file test_simulateCW.py.

◆ compute_Fstat_spindown_reference()

def test_simulateCW.compute_Fstat_spindown_reference ( )

Definition at line 84 of file test_simulateCW.py.

◆ compute_Fstat_spindown_simulateCW()

def test_simulateCW.compute_Fstat_spindown_simulateCW ( )

Definition at line 127 of file test_simulateCW.py.

◆ test_fstatistic()

def test_simulateCW.test_fstatistic ( )

Definition at line 189 of file test_simulateCW.py.

◆ test_random_seeds()

def test_simulateCW.test_random_seeds ( )

Definition at line 214 of file test_simulateCW.py.

Variable Documentation

◆ earth_ephem_file

test_simulateCW.earth_ephem_file
Initial value:
1 = os.path.join(
2  os.environ["LAL_TEST_PKGDATADIR"], "earth00-40-DE405.dat.gz"
3 )

Definition at line 31 of file test_simulateCW.py.

◆ sun_ephem_file

test_simulateCW.sun_ephem_file
Initial value:
1 = os.path.join(
2  os.environ["LAL_TEST_PKGDATADIR"], "sun00-40-DE405.dat.gz"
3 )

Definition at line 34 of file test_simulateCW.py.

◆ ephemerides

test_simulateCW.ephemerides = lalpulsar.InitBarycenter(earth_ephem_file, sun_ephem_file)

Definition at line 37 of file test_simulateCW.py.

◆ h0

int test_simulateCW.h0 = 1e-24

Definition at line 40 of file test_simulateCW.py.

◆ assume_sqrtSh

int test_simulateCW.assume_sqrtSh = 1e-23

Definition at line 41 of file test_simulateCW.py.

◆ cosi

float test_simulateCW.cosi = 0.123

Definition at line 42 of file test_simulateCW.py.

◆ psi

float test_simulateCW.psi = 2.345

Definition at line 43 of file test_simulateCW.py.

◆ phi0

float test_simulateCW.phi0 = 3.210

Definition at line 44 of file test_simulateCW.py.

◆ freq

float test_simulateCW.freq = 10.0

Definition at line 47 of file test_simulateCW.py.

◆ fcmin

float test_simulateCW.fcmin = 5.0

Definition at line 48 of file test_simulateCW.py.

◆ fcmax

float test_simulateCW.fcmax = 15.0

Definition at line 49 of file test_simulateCW.py.

◆ f1dot

float test_simulateCW.f1dot = -1.35e-8

Definition at line 50 of file test_simulateCW.py.

◆ alpha

float test_simulateCW.alpha = 6.12

Definition at line 51 of file test_simulateCW.py.

◆ delta

float test_simulateCW.delta = 1.02

Definition at line 52 of file test_simulateCW.py.

◆ detector

string test_simulateCW.detector = "V1"

Definition at line 55 of file test_simulateCW.py.

◆ tref

int test_simulateCW.tref = 900043200

Definition at line 58 of file test_simulateCW.py.

◆ tstart

int test_simulateCW.tstart = 900000000

Definition at line 59 of file test_simulateCW.py.

◆ Tdata

int test_simulateCW.Tdata = 86400

Definition at line 60 of file test_simulateCW.py.

◆ fmax

float test_simulateCW.fmax = 32.0

Definition at line 63 of file test_simulateCW.py.

◆ Tsft

int test_simulateCW.Tsft = 1800

Definition at line 64 of file test_simulateCW.py.

◆ dfreq

float test_simulateCW.dfreq = 0.1 / Tdata

Definition at line 67 of file test_simulateCW.py.

◆ Nfs

int test_simulateCW.Nfs = 111

Definition at line 68 of file test_simulateCW.py.

◆ fsmin

float test_simulateCW.fsmin = freq - (Nfs - 1) * 0.5 * dfreq

Definition at line 69 of file test_simulateCW.py.

◆ args

test_simulateCW.args = sys.argv[1:] or ["-v", "-rs", "--junit-xml=junit-simulateCW.xml"]

Definition at line 292 of file test_simulateCW.py.