Commit 9949fff0 authored by Philipp Arras's avatar Philipp Arras
Browse files

Cosmetics

parent aa0b1292
...@@ -22,18 +22,19 @@ if __name__ == '__main__': ...@@ -22,18 +22,19 @@ if __name__ == '__main__':
# FIXME description of the tutorial # FIXME description of the tutorial
# Choose problem geometry and masking # Choose problem geometry and masking
mode = 0
# One dimensional regular grid if mode == 0:
position_space = ift.RGSpace([1024]) # One dimensional regular grid
mask = np.ones(position_space.shape) position_space = ift.RGSpace([1024])
mask = np.ones(position_space.shape)
# # Two dimensional regular grid with chess mask elif mode == 1:
# position_space = ift.RGSpace([128, 128]) # Two dimensional regular grid with chess mask
# mask = make_chess_mask(position_space) position_space = ift.RGSpace([128, 128])
mask = make_chess_mask(position_space)
# # Sphere with half of its locations randomly masked else:
# position_space = ift.HPSpace(128) # Sphere with half of its locations randomly masked
# mask = make_random_mask() position_space = ift.HPSpace(128)
mask = make_random_mask()
harmonic_space = position_space.get_default_codomain() harmonic_space = position_space.get_default_codomain()
HT = ift.HarmonicTransformOperator(harmonic_space, target=position_space) HT = ift.HarmonicTransformOperator(harmonic_space, target=position_space)
......
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