Commit 3c2c1094 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cleanup

parent 1974cd70
......@@ -29,7 +29,7 @@ def get_random_LOS(n_los):
if __name__ == '__main__':
# FIXME description of the tutorial
np.random.seed(42)
position_space = ift.RGSpace([512, 512])
position_space = ift.RGSpace([128, 128])
# Setting up an amplitude model
A = ift.AmplitudeModel(position_space, 16, 1, 10, -4., 1, 0., 1.)
......
......@@ -30,7 +30,6 @@ def allreduce_sum_field(fld):
return Field.from_local_data(fld.domain, np_allreduce_sum(fld.local_data))
res = tuple(Field.from_local_data(f.domain, np_allreduce_sum(f.local_data)) for f in fld.values())
return MultiField(fld.domain, res)
raise NotImplementedError
class KL_Energy(Energy):
......
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