Commit 220d5637 authored by s.gretchko's avatar s.gretchko
Browse files

Restrict debug mode to 1-D case in CDP_processor

parent c9affb6d
...@@ -16,9 +16,9 @@ def CDP_processor(config): ...@@ -16,9 +16,9 @@ def CDP_processor(config):
# The input data are coded diffraction patterns about a random complex # The input data are coded diffraction patterns about a random complex
# valued image. # valued image.
# temporary code for fixing issues with CDP_processor / Wirtinger algorithm # temporary code for fixing issues with CDP_processor / Wirtinger algorithm (1-D case only)
# used predefined randomly generated data # used predefined randomly generated data for the case where n1 = 128, n2 = 1
debug = config['algorithm'] == 'Wirtinger' debug = config['algorithm'] == 'Wirtinger' and config['Ny'] == 128 and config['Nx'] == 1
debug_image = None debug_image = None
debug_masks = None debug_masks = None
debug_z0 = None debug_z0 = None
......
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