SLA requires keyword arguments, so now it gets keyword arguments

parent 5f91d098
Pipeline #46377 passed with stages
in 8 minutes and 50 seconds
......@@ -168,7 +168,7 @@ def SLAmplitude(*, target, n_pix, a, k0, sm, sv, im, iv, keys=['tau', 'phi']):
which returns on its target a power spectrum which consists out of a
smooth and a linear part.
'''
return LinearSLAmplitude(target, n_pix, a, k0, sm, sv, im, iv, keys).exp()
return LinearSLAmplitude(target=target, n_pix=n_pix, a=a, k0=k0, sm=sm, sv=sv, im=im, iv=iv, keys=keys).exp()
def LinearSLAmplitude(*, target, n_pix, a, k0, sm, sv, im, iv, keys=['tau', 'phi']):
......
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