Skip to content
Snippets Groups Projects
Commit 47e7059a authored by Philipp Arras's avatar Philipp Arras
Browse files

Cosmetics

parent 721d0d1b
No related branches found
No related tags found
1 merge request!4Revision
Pipeline #108929 passed
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment