Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
afc6d1d0
Commit
afc6d1d0
authored
Mar 01, 2019
by
Julian Ruestig
📡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Value insert seperate to have domain
parent
c9605c72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nifty5/library/smooth_linear_amplitude.py
nifty5/library/smooth_linear_amplitude.py
+3
-3
No files found.
nifty5/library/smooth_linear_amplitude.py
View file @
afc6d1d0
...
...
@@ -215,9 +215,9 @@ def SLAmplitude(*, target, n_pix, a, k0, sm, sv, im, iv, za=None, zq=None,
# Go from loglog-space to linear-linear-space
return
et
@
loglog_ampl
.
exp
()
else
:
zero_mode
=
(
ValueInserter
(
et
.
target
,
(
0
,)
*
len
(
et
.
target
.
shape
))
@
InverseGammaOperator
(
et
.
target
,
za
,
zq
).
ducktape
(
keys
[
2
]))
zero_mode
=
ValueInserter
(
et
.
target
,
(
0
,)
*
len
(
et
.
target
.
shape
))
zero_mode
=
(
zero_mode
@
InverseGammaOperator
(
zero_mode
.
domain
,
za
,
zq
).
ducktape
(
keys
[
2
]))
mask
=
np
.
ones
(
et
.
target
.
shape
)
mask
[(
0
,)
*
len
(
et
.
target
.
shape
)]
=
0.
...
...
Write
Preview
Markdown
is supported
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