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
1ee9020b
Commit
1ee9020b
authored
Sep 05, 2017
by
Martin Reinecke
Browse files
update
parent
5d351e29
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
1ee9020b
...
...
@@ -49,15 +49,13 @@ that apply to fields.
<!-- -->
Field.conjugate Field.dim Field.norm
Field.dot
Field.set_val Field.weight
Field.
v
dot Field.set_val Field.weight
-
[
Operators
](
http://www.mpa-garching.mpg.de/ift/nifty/operator.html
)
-
`DiagonalOperator`
- purely diagonal matrices in a specified
basis
-
`ProjectionOperator`
- projections onto subsets of a specified
basis
-
`PropagatorOperator`
- information propagator in Wiener filter
theory
-
(and more)
-
(and more)
...
...
@@ -69,7 +67,7 @@ Installation
### Requirements
-
[
Python
](
http://www.python.org/
)
(
v2.7.x
)
-
[
Python
](
http://www.python.org/
)
(
v2.7.x
or 3.5.x
)
-
[
NumPy
](
http://www.numpy.org/
)
### Download
...
...
demos/paper_demos/wiener_filter.py
View file @
1ee9020b
...
...
@@ -53,7 +53,7 @@ if __name__ == "__main__":
# Probing the uncertainty |\label{code:wf_uncertainty_probing}|
class
Proby
(
ift
.
DiagonalProberMixin
,
ift
.
Prober
):
pass
proby
=
Proby
(
signal_space
,
probe_count
=
1
0
,
ncpu
=
1
)
proby
=
Proby
(
signal_space
,
probe_count
=
80
0
,
ncpu
=
1
)
proby
(
lambda
z
:
fft
(
wiener_curvature
.
inverse_times
(
fft
.
inverse_times
(
z
))))
#|\label{code:wf_variance_fft_wrap}|
sm
=
ift
.
FFTSmoothingOperator
(
signal_space
,
sigma
=
0.03
)
...
...
nifty2go/minimization/default_iteration_controller.py
View file @
1ee9020b
...
...
@@ -56,6 +56,7 @@ class DefaultIterationController(IterationController):
if
self
.
_name
is
not
None
:
msg
+=
self
.
_name
+
":"
msg
+=
" Iteration #"
+
str
(
self
.
_itcount
)
msg
+=
" energy="
+
str
(
energy
.
value
)
msg
+=
" gradnorm="
+
str
(
energy
.
gradient_norm
)
msg
+=
" clvl="
+
str
(
self
.
_ccount
)
print
(
msg
)
...
...
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