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
ift
NIFTy
Commits
df116915
Commit
df116915
authored
Feb 19, 2020
by
Martin Reinecke
Browse files
Merge branch 'fix_fieldzeropadder' into 'NIFTy_6'
Fix FieldZeroPadder See merge request
!408
parents
ff7dfaa8
ff5b268d
Pipeline
#69527
passed with stages
in 15 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/field_zero_padder.py
View file @
df116915
...
...
@@ -95,7 +95,7 @@ class FieldZeroPadder(LinearOperator):
xnew
[
idx
+
(
slice
(
0
,
v
.
shape
[
d
]),)]
=
v
else
:
# ADJOINT_TIMES
if
self
.
_central
:
shp
=
list
(
x
.
shape
)
shp
=
list
(
v
.
shape
)
shp
[
d
]
=
tgtshp
[
d
]
xnew
=
np
.
zeros
(
shp
,
dtype
=
v
.
dtype
)
Nyquist
=
xnew
.
shape
[
d
]
//
2
...
...
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