Commit 691ae596 authored by Philipp Arras's avatar Philipp Arras

Cleanup

parent 8b623ab3
...@@ -47,12 +47,15 @@ def CorrelatedField(s_space, amplitude_model, name='xi'): ...@@ -47,12 +47,15 @@ def CorrelatedField(s_space, amplitude_model, name='xi'):
power_distributor = PowerDistributor(h_space, p_space) power_distributor = PowerDistributor(h_space, p_space)
A = power_distributor(amplitude_model) A = power_distributor(amplitude_model)
vol = h_space.scalar_dvol vol = h_space.scalar_dvol
vol = ScalingOperator(vol ** (-0.5),h_space) vol = ScalingOperator(vol**(-0.5), h_space)
return ht(vol(A)*FieldAdapter(h_space, name)) return ht(vol(A)*FieldAdapter(h_space, name))
def MfCorrelatedField(s_space_spatial, s_space_energy, amplitude_model_spatial, def MfCorrelatedField(s_space_spatial,
amplitude_model_energy, name="xi"): s_space_energy,
amplitude_model_spatial,
amplitude_model_energy,
name="xi"):
''' '''
Method for construction of correlated multi-frequency fields Method for construction of correlated multi-frequency fields
''' '''
......
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