Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Ashton
PyFstat
Commits
a04d15fd
Commit
a04d15fd
authored
Sep 28, 2016
by
Gregory Ashton
Browse files
Renmae two glitch label to avoid matches for one glitch
parent
9d0c4f12
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/make_fake_data.py
View file @
a04d15fd
...
...
@@ -33,7 +33,7 @@ delta_F1 = 0
glitch_data
=
Writer
(
label
=
'glitch'
,
outdir
=
'data'
,
tref
=
tref
,
tstart
=
tstart
,
F0
=
F0
,
F1
=
F1
,
F2
=
F2
,
duration
=
duration
,
Alpha
=
Alpha
,
Delta
=
Delta
,
h0
=
h0
,
sqrtSX
=
sqrtSX
,
dtglitch
=
dtglitch
,
delta_F0
=
delta_F0
,
delta_F1
=
delta_F1
)
dtglitch
=
dtglitch
,
delta_F0
=
delta_F0
,
delta_F1
=
delta_F1
,
detector
=
'H1,L1'
)
glitch_data
.
make_data
()
...
...
@@ -50,7 +50,7 @@ delta_F1 = [0, 0]
delta_F2
=
[
0
,
0
]
two_glitch_data
=
Writer
(
label
=
'two
_
glitch'
,
outdir
=
'data'
,
tref
=
tref
,
tstart
=
tstart
,
F0
=
F0
,
F1
=
F1
,
label
=
'twoglitch'
,
outdir
=
'data'
,
tref
=
tref
,
tstart
=
tstart
,
F0
=
F0
,
F1
=
F1
,
F2
=
F2
,
duration
=
duration
,
Alpha
=
Alpha
,
Delta
=
Delta
,
h0
=
h0
,
sqrtSX
=
sqrtSX
,
dtglitch
=
dtglitch
,
delta_phi
=
delta_phi
,
delta_F0
=
delta_F0
,
delta_F1
=
delta_F1
,
delta_F2
=
delta_F2
)
...
...
examples/semi_coherent_two
_
glitch_search.py
→
examples/semi_coherent_twoglitch_search.py
View file @
a04d15fd
...
...
@@ -28,7 +28,7 @@ nwalkers = 100
nsteps
=
[
500
,
500
,
500
]
mcmc
=
pyfstat
.
MCMCGlitchSearch
(
'semi_coherent_two
_
glitch_search'
,
'data'
,
sftlabel
=
'two
_
glitch'
,
'semi_coherent_twoglitch_search'
,
'data'
,
sftlabel
=
'twoglitch'
,
sftdir
=
'data'
,
theta_prior
=
theta_prior
,
tref
=
tref
,
tstart
=
tstart
,
tend
=
tend
,
nsteps
=
nsteps
,
nwalkers
=
nwalkers
,
scatter_val
=
1e-10
,
nglitch
=
2
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment