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
ift
NIFTy
Commits
0afa8101
Commit
0afa8101
authored
Sep 21, 2018
by
Philipp Arras
Browse files
Draw actual posterior samples
parent
62e6b774
Changes
1
Hide whitespace changes
Inline
Side-by-side
demos/getting_started_3.py
View file @
0afa8101
...
@@ -105,6 +105,7 @@ if __name__ == '__main__':
...
@@ -105,6 +105,7 @@ if __name__ == '__main__':
title
=
"power"
)
title
=
"power"
)
plot
.
output
(
ny
=
1
,
ysize
=
6
,
xsize
=
16
,
name
=
"loop.png"
)
plot
.
output
(
ny
=
1
,
ysize
=
6
,
xsize
=
16
,
name
=
"loop.png"
)
KL
=
ift
.
KL_Energy
(
position
,
H
,
N_samples
)
plot
=
ift
.
Plot
()
plot
=
ift
.
Plot
()
sc
=
ift
.
StatCalculator
()
sc
=
ift
.
StatCalculator
()
for
sample
in
KL
.
samples
:
for
sample
in
KL
.
samples
:
...
...
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