Skip to content
GitLab
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
e725a15f
Commit
e725a15f
authored
Feb 08, 2018
by
Gregory Ashton
Browse files
Update examples to match paper
parent
8d979b1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py
View file @
e725a15f
...
...
@@ -7,7 +7,7 @@ plt.style.use('paper')
label
=
'semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch'
Nstar
=
100
Nstar
=
100
0
F0_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
12
)
/
(
np
.
pi
*
duration
)
F1_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
180
)
/
(
np
.
pi
*
duration
**
2
)
...
...
@@ -30,7 +30,7 @@ theta_prior = {
'Delta'
:
Delta
,
}
ntemps
=
2
ntemps
=
3
log10beta_min
=
-
0.5
nwalkers
=
100
nsteps
=
[
500
,
500
]
...
...
examples/glitch_examples/semicoherent_glitch_robust_directed_grid_search_on_1_glitch.py
View file @
e725a15f
...
...
@@ -14,10 +14,10 @@ label = 'semicoherent_glitch_robust_directed_grid_search_on_1_glitch'
plt
.
style
.
use
(
'paper'
)
Nstar
=
1
5
0
Nstar
=
1
00
0
F0_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
12
)
/
(
np
.
pi
*
duration
)
F1_width
=
np
.
sqrt
(
Nstar
)
*
np
.
sqrt
(
180
)
/
(
np
.
pi
*
duration
**
2
)
N
=
61
N
=
30
F0s
=
[
F0
-
F0_width
/
2.
,
F0
+
F0_width
/
2.
,
F0_width
/
N
]
F1s
=
[
F1
-
F1_width
/
2.
,
F1
+
F1_width
/
2.
,
F1_width
/
N
]
F2s
=
[
F2
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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