Commit afc6d1d0 authored by Julian Ruestig's avatar Julian Ruestig 📡

Value insert seperate to have domain

parent c9605c72
......@@ -215,9 +215,9 @@ def SLAmplitude(*, target, n_pix, a, k0, sm, sv, im, iv, za=None, zq=None,
# Go from loglog-space to linear-linear-space
return et @ loglog_ampl.exp()
else:
zero_mode = (
ValueInserter(et.target, (0,)*len(et.target.shape)) @
InverseGammaOperator(et.target, za, zq).ducktape(keys[2]))
zero_mode = ValueInserter(et.target, (0,)*len(et.target.shape))
zero_mode = ( zero_mode @
InverseGammaOperator(zero_mode.domain, za, zq).ducktape(keys[2]))
mask = np.ones(et.target.shape)
mask[(0,)*len(et.target.shape)] = 0.
......
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