Commit 37a6c3da authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tentative fix

parent 261eb62c
......@@ -47,7 +47,7 @@ def CorrelatedField(s_space, amplitude_model):
def MfCorrelatedField(s_space_spatial, s_space_energy, amplitude_model_spatial,
amplitude_model_energy, name=None):
amplitude_model_energy, name="xi"):
Method for construction of correlated multi-frequency fields
......@@ -58,9 +58,6 @@ def MfCorrelatedField(s_space_spatial, s_space_energy, amplitude_model_spatial,
ht2 = HarmonicTransformOperator(, space=1)
ht = ht2(ht1)
if name==None:
p_space_spatial =[0]
p_space_energy =[0]
......@@ -178,6 +178,13 @@ class Linearization(object):
return Linearization(field, NullOperator(field.domain, field.domain),
def make_const_empty_input(field, want_metric=False):
from .operators.simple_linear_operators import NullOperator
from .multi_domain import MultiDomain
return Linearization(field, NullOperator(MultiDomain.make({}), field.domain),
def make_partial_var(field, constants, want_metric=False):
from .operators.scaling_operator import ScalingOperator
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment