Commit a9a60b44 authored by Philipp Frank's avatar Philipp Frank
Browse files

hotfix

parent 0aa9e11a
......@@ -127,7 +127,7 @@ def make_dynamic_operator(FFT,harmonic_padding,sm_s0,sm_x0,
c = makeOp(Field.from_global_data(c.target, np.array(sigc)))(c)
lightspeed = ScalingOperator(-0.5,c.target)(c).exp()
scaling = m.target[0].distances[1:]/m.target[0].distances[0]
scaling = np.array(m.target[0].distances[1:])/m.target[0].distances[0]
scaling = DiagonalOperator(Field.from_global_data(c.target,scaling))
ops['lightspeed'] = scaling(lightspeed)
......
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