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


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