Skip to content
Snippets Groups Projects
Commit ccd864ba authored by Jakob Knollmueller's avatar Jakob Knollmueller
Browse files

current status

parent bf1d9f6e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ def make_chess_mask(): ...@@ -7,7 +7,7 @@ def make_chess_mask():
for i in range(4): for i in range(4):
for j in range(4): for j in range(4):
if (i+j)%2 == 0: if (i+j)%2 == 0:
mask[i*128/4:(i+1)*128/4, j*128/4:(j+1)*128/4] = 0 mask[i*512/4:(i+1)*512/4, j*512/4:(j+1)*512/4] = 0
return mask return mask
def make_random_mask(): def make_random_mask():
...@@ -25,12 +25,12 @@ if __name__ == '__main__': ...@@ -25,12 +25,12 @@ if __name__ == '__main__':
# mask = np.ones(position_space.shape) # mask = np.ones(position_space.shape)
# # Two dimensional regular grid with chess mask # # Two dimensional regular grid with chess mask
# position_space = ift.RGSpace([128,128]) position_space = ift.RGSpace([512,512])
# mask = make_chess_mask() mask = make_chess_mask()
# # Sphere with half of its locations randomly masked # # Sphere with half of its locations randomly masked
position_space = ift.HPSpace(128) # position_space = ift.HPSpace(128)
mask = make_random_mask() # mask = make_random_mask()
# set up corresponding harmonic transform and space # set up corresponding harmonic transform and space
harmonic_space = position_space.get_default_codomain() harmonic_space = position_space.get_default_codomain()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment