Test the synthesize image functionality

This commit is contained in:
Abe Levitan committed 2019-04-25 13:53:35 -04:00
1 parent bc9c1c466c
commit 1104f338d1
3 files changed
+39 -11

No files matched your search

+3 -1
View File
@@ -27,7 +27,9 @@ if __name__ == '__main__':
synth_probe, synth_obj, aligned_objs = synthesize_reconstructions(
dataset['probe'], dataset['obj'], args.use_probe)
print(np.max(np.abs(synth_obj)))
print(np.max(np.abs(aligned_objs[0])))
freqs, prtf = calc_consistency_prtf(synth_obj, aligned_objs, dataset['basis'])