Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
1f83d30d
There was a problem fetching the pipeline summary.
Commit
1f83d30d
authored
6 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
More fixups
parent
6a8f8cc5
No related branches found
No related tags found
3 merge requests
!266
Fun with linear operators
,
!265
WIP: Even more fun with linear operators
,
!263
WIP: Draw sample2
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
demos/krylov_sampling.py
+2
-1
2 additions, 1 deletion
demos/krylov_sampling.py
demos/paper_demos/cartesian_wiener_filter.py
+1
-1
1 addition, 1 deletion
demos/paper_demos/cartesian_wiener_filter.py
demos/paper_demos/wiener_filter.py
+1
-1
1 addition, 1 deletion
demos/paper_demos/wiener_filter.py
with
4 additions
and
3 deletions
demos/krylov_sampling.py
+
2
−
1
View file @
1f83d30d
...
...
@@ -40,7 +40,8 @@ IC = ift.GradientNormController(tol_abs_gradnorm=1e-3, iteration_limit=N_iter)
m
,
samps
=
ift
.
library
.
generate_krylov_samples
(
D_inv
,
S
,
j
,
N_samps
,
IC
)
m_x
=
sky
(
m
)
inverter
=
ift
.
ConjugateGradient
(
IC
)
curv
=
ift
.
library
.
WienerFilterCurvature
(
S
=
S
,
N
=
N
,
R
=
R_p
,
inverter
=
inverter
)
curv
=
ift
.
library
.
WienerFilterCurvature
(
S
=
S
,
N
=
N
,
R
=
R_p
,
inverter
=
inverter
,
sampling_inverter
=
inverter
)
samps_old
=
[
curv
.
draw_sample
(
from_inverse
=
True
)
for
i
in
range
(
N_samps
)]
plt
.
plot
(
d
.
to_global_data
(),
'
+
'
,
label
=
"
data
"
,
alpha
=
.
5
)
...
...
This diff is collapsed.
Click to expand it.
demos/paper_demos/cartesian_wiener_filter.py
+
1
−
1
View file @
1f83d30d
...
...
@@ -76,7 +76,7 @@ if __name__ == "__main__":
ctrl
=
ift
.
GradientNormController
(
name
=
"
inverter
"
,
tol_abs_gradnorm
=
0.1
)
inverter
=
ift
.
ConjugateGradient
(
controller
=
ctrl
)
wiener_curvature
=
ift
.
library
.
WienerFilterCurvature
(
S
=
S
,
N
=
N
,
R
=
R
,
inverter
=
inverter
)
S
=
S
,
N
=
N
,
R
=
R
,
inverter
=
inverter
,
sampling_
inverter
=
inverter
)
m_k
=
wiener_curvature
.
inverse_times
(
j
)
m
=
ht
(
m_k
)
...
...
This diff is collapsed.
Click to expand it.
demos/paper_demos/wiener_filter.py
+
1
−
1
View file @
1f83d30d
...
...
@@ -50,7 +50,7 @@ if __name__ == "__main__":
ctrl
=
ift
.
GradientNormController
(
name
=
"
inverter
"
,
tol_abs_gradnorm
=
1e-2
)
inverter
=
ift
.
ConjugateGradient
(
controller
=
ctrl
)
wiener_curvature
=
ift
.
library
.
WienerFilterCurvature
(
S
=
S
,
N
=
N
,
R
=
R
,
inverter
=
inverter
)
S
=
S
,
N
=
N
,
R
=
R
,
inverter
=
inverter
,
sampling_
inverter
=
inverter
)
m_k
=
wiener_curvature
.
inverse_times
(
j
)
m
=
ht
(
m_k
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment