Skip to content
Snippets Groups Projects
Commit ec951daa authored by Sebastian Hutschenreuter's avatar Sebastian Hutschenreuter
Browse files

fixed plotting

parent 7e739a06
No related branches found
No related tags found
No related merge requests found
...@@ -36,8 +36,8 @@ correlated_field = ift.CorrelatedField(position_space, A) ...@@ -36,8 +36,8 @@ correlated_field = ift.CorrelatedField(position_space, A)
### SETTING UP SPECIFIC SCENARIO #### ### SETTING UP SPECIFIC SCENARIO ####
# R = checkerboard_response(position_space) R = checkerboard_response(position_space)
R = ift.GeometryRemover(position_space) # R = ift.GeometryRemover(position_space)
data_space = R.target data_space = R.target
signal = correlated_field signal = correlated_field
......
...@@ -155,7 +155,6 @@ def plot_reconstruction_2d(data, ground_truth, KL, signal, R, A): ...@@ -155,7 +155,6 @@ def plot_reconstruction_2d(data, ground_truth, KL, signal, R, A):
sky_samples += [tmp] sky_samples += [tmp]
amp_samples += [pow] amp_samples += [pow]
plt.ion()
fig, ax = plt.subplots(nrows=2, ncols=3, figsize=(4 * 3, 4 * 2,)) fig, ax = plt.subplots(nrows=2, ncols=3, figsize=(4 * 3, 4 * 2,))
im = list() im = list()
im.append(ax[0, 0].imshow(signal(ground_truth).val, aspect='auto')) im.append(ax[0, 0].imshow(signal(ground_truth).val, aspect='auto'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment