Commit 16e0b017 authored by Philipp Arras's avatar Philipp Arras
Browse files

fixup! Force SLAmplitude to take only named arguments

parent 41f650f6
......@@ -89,10 +89,10 @@ def testBinary(type1, type2, space, seed):
def testModelLibrary(space, seed):
# Tests amplitude model and coorelated field model
Npixdof, ceps_a, ceps_k, sm, sv, im, iv = 4, 0.5, 2., 3., 1.5, 1.75, 1.3
np.random.seed(seed)
domain = ift.PowerSpace(space.get_default_codomain())
model = ift.SLAmplitude(domain, Npixdof, ceps_a, ceps_k, sm, sv, im, iv)
model = ift.SLAmplitude(target=domain, n_pix=4, a=.5, k0=2, sm=3, sv=1.5,
im=1.75, iv=1.3)
assert_(isinstance(model, ift.Operator))
S = ift.ScalingOperator(1., model.domain)
pos = S.draw_sample()
......
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