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
d7b5815d
Commit
d7b5815d
authored
May 04, 2018
by
Gregory Ashton
Browse files
Add back in style for example
parent
4fb7886e
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/glitch_examples/semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch.py
View file @
d7b5815d
...
@@ -5,7 +5,7 @@ import gridcorner
...
@@ -5,7 +5,7 @@ import gridcorner
import
time
import
time
from
make_simulated_data
import
tstart
,
duration
,
tref
,
F0
,
F1
,
F2
,
Alpha
,
Delta
,
delta_F0
,
dtglitch
,
outdir
from
make_simulated_data
import
tstart
,
duration
,
tref
,
F0
,
F1
,
F2
,
Alpha
,
Delta
,
delta_F0
,
dtglitch
,
outdir
#
plt.style.use('./paper.mplstyle')
plt
.
style
.
use
(
'./paper.mplstyle'
)
label
=
'semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch'
label
=
'semicoherent_glitch_robust_directed_MCMC_search_on_1_glitch'
...
@@ -61,7 +61,6 @@ dT = time.time() - t1
...
@@ -61,7 +61,6 @@ dT = time.time() - t1
fig_and_axes
=
gridcorner
.
_get_fig_and_axes
(
4
,
2
,
0.05
)
fig_and_axes
=
gridcorner
.
_get_fig_and_axes
(
4
,
2
,
0.05
)
mcmc
.
plot_corner
(
label_offset
=
0.25
,
truths
=
[
0
,
0
,
0
,
0
],
mcmc
.
plot_corner
(
label_offset
=
0.25
,
truths
=
[
0
,
0
,
0
,
0
],
fig_and_axes
=
fig_and_axes
,
quantiles
=
(
0.16
,
0.84
))
fig_and_axes
=
fig_and_axes
,
quantiles
=
(
0.16
,
0.84
))
#mcmc.plot_chainconsumer(truth=[0, 0, 0, 0], label_offset=0.5)
mcmc
.
print_summary
()
mcmc
.
print_summary
()
...
...
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