Commit 59f7c2c0 authored by Philipp Arras's avatar Philipp Arras

Renaming

parent 04893360
Pipeline #77387 passed with stages
in 13 minutes and 18 seconds
...@@ -87,13 +87,13 @@ class SimpleCorrelatedField(Operator): ...@@ -87,13 +87,13 @@ class SimpleCorrelatedField(Operator):
xi = ducktape(dom, None, prefix + 'spectrum') xi = ducktape(dom, None, prefix + 'spectrum')
smooth = xi*sig_flex*(Adder(shift) @ sig_asp).ptw("sqrt") smooth = xi*sig_flex*(Adder(shift) @ sig_asp).ptw("sqrt")
smooth = _SlopeRemover(pspace, 0) @ twolog @ smooth smooth = _SlopeRemover(pspace, 0) @ twolog @ smooth
op = _Normalization(pspace, 0) @ (slope + smooth) a = _Normalization(pspace, 0) @ (slope + smooth)
maskzm = np.ones(pspace.shape) maskzm = np.ones(pspace.shape)
maskzm[0] = 0 maskzm[0] = 0
maskzm = makeOp(makeField(pspace, maskzm)) maskzm = makeOp(makeField(pspace, maskzm))
insert = ValueInserter(pspace, (0,)) insert = ValueInserter(pspace, (0,))
a = (maskzm @ ((ps_expander @ fluct)*op)) + insert(zm) a = (maskzm @ ((ps_expander @ fluct)*a)) + insert(zm)
self._a = a.scale(target.total_volume) self._a = a.scale(target.total_volume)
ht = HarmonicTransformOperator(harmonic_partner, target) ht = HarmonicTransformOperator(harmonic_partner, target)
......
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