Commit 47e7059a authored by Philipp Arras's avatar Philipp Arras
Browse files


parent 721d0d1b
Pipeline #108929 passed with stages
in 18 minutes and 3 seconds
......@@ -32,14 +32,14 @@ def main():
with ift.random.Context(31):
p = ift.Plot()
n = 5
for _ in range(5): # FIXME: should this be 'range(n)'?
for _ in range(n):
pos = ift.from_random(sky.domain, 'normal')
ss = sky(pos)['hi']
mi, ma = 0, np.max(ss.val)
for ii in range(0, ss.shape[0], 4):
extr = ift.DomainTupleFieldInserter(ss.domain, 0, (ii,)).adjoint
p.add(extr(ss), zmin=mi, zmax=ma)
p.output(name=f'prior_samples.png', ny=n, xsize=28, ysize=9)
p.output(name='prior_samples.png', ny=n, xsize=28, ysize=9)
print('Start inf check')
for ii in range(20):
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