long_transient_search_make_simulated_data.py 615 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python

import pyfstat

F0 = 30.0
F1 = -1e-10
F2 = 0
Alpha = 0.5
Delta = 1

minStartTime = 1000000000
maxStartTime = minStartTime + 200*86400

transient_tstart = minStartTime + 50*86400
transient_duration = 100*86400
tref = minStartTime

h0 = 1e-23
sqrtSX = 1e-22

transient = pyfstat.Writer(
22
    label='simulated_transient_signal', outdir='data_l', tref=tref,
23
24
    tstart=transient_tstart, F0=F0, F1=F1, F2=F2, duration=transient_duration,
    Alpha=Alpha, Delta=Delta, h0=h0, sqrtSX=sqrtSX, minStartTime=minStartTime,
25
    maxStartTime=maxStartTime, transientWindowType='rect')
26
transient.make_data()