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
7ee5c8f1
Commit
7ee5c8f1
authored
Jan 13, 2019
by
Philipp Arras
Browse files
Cosmetics
parent
d776a9a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/dynamic_operator.py
View file @
7ee5c8f1
...
...
@@ -74,9 +74,9 @@ def _make_dynamic_operator(domain,
harmonic_padding
=
list
((
harmonic_padding
,)
*
len
(
FFT
.
target
.
shape
))
elif
len
(
harmonic_padding
)
!=
len
(
FFT
.
target
.
shape
):
raise
(
ValueError
,
"Shape mismatch!"
)
shp
=
()
for
i
in
range
(
len
(
FFT
.
target
.
shape
)
):
shp
+=
(
FFT
.
target
.
shape
[
i
]
+
harmonic_padding
[
i
],)
shp
=
[
sh
+
harmonic_padding
[
ii
]
for
ii
,
sh
in
enumerate
(
FFT
.
target
.
shape
)
]
CentralPadd
=
FieldZeroPadder
(
FFT
.
target
,
shp
,
central
=
True
)
ops
[
'central_padding'
]
=
CentralPadd
sdom
=
CentralPadd
.
target
[
0
].
get_default_codomain
()
...
...
@@ -213,11 +213,11 @@ def dynamic_lightcone_operator(domain,
sm_x0 : float, List of float
Scaling of dynamic smoothness along each axis.
key : String
k
ey for dynamics encoding parameter.
K
ey for dynamics encoding parameter.
lightcone_key: String
k
ey for lightspeed paramteter.
K
ey for lightspeed paramteter.
sigc : float, List of float
v
ariance of lightspeed parameter.
V
ariance of lightspeed parameter.
quant : float
Quantization of the light cone in pixels.
causal : boolean
...
...
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