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
a6bbaa1e
Commit
a6bbaa1e
authored
Jun 19, 2020
by
Martin Reinecke
Browse files
cosmetics
parent
f4501a5e
Pipeline
#76957
passed with stages
in 12 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/energy_operators.py
View file @
a6bbaa1e
...
...
@@ -167,15 +167,6 @@ class VariableCovarianceGaussianEnergy(EnergyOperator):
return
res
.
add_metric
(
SamplingDtypeSetter
(
met
,
self
.
_sampling_dtype
))
def
_build_MultiScalingOperator
(
domain
,
scales
):
op
=
None
for
k
,
dom
in
domain
.
items
():
o
=
ScalingOperator
(
dom
,
scales
[
k
])
FA
=
FieldAdapter
(
dom
,
k
)
o
=
FA
.
adjoint
@
o
@
FA
op
=
o
if
op
is
None
else
op
+
o
return
op
class
GaussianEnergy
(
EnergyOperator
):
"""Computes a negative-log Gaussian.
...
...
@@ -197,7 +188,7 @@ class GaussianEnergy(EnergyOperator):
Operator domain. By default it is inferred from `mean` or
`covariance` if specified
sampling_dtype : type
Here one can specify whether the distribution is a comp
e
lx Gaussian or
Here one can specify whether the distribution is a compl
e
x Gaussian or
not. Note that for a complex Gaussian the inverse_covariance is
.. math ::
(<ff^dagger>)^{-1}_P(f)/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