Commit ef742afe authored by Matthijs's avatar Matthijs
Browse files

use the tqdm_notebook progressbar

parent bc4a08ae
# This is the input file that the user sees/modifies. It should be simple, # This is the input file that the user sees/modifies. It should be simple,
# avoid jargon or acronyms, and should be a model for a menu-driven GUI # avoid jargon or acronyms, and should be a model for a menu-driven GUI
from tqdm import tqdm, tqdm_notebook
new_config = { new_config = {
...@@ -22,7 +23,7 @@ new_config = { ...@@ -22,7 +23,7 @@ new_config = {
# Options are: 'support only', 'real and support', 'nonnegative and support', # Options are: 'support only', 'real and support', 'nonnegative and support',
# 'amplitude only', 'sparse real', 'sparse complex', and 'hybrid' # 'amplitude only', 'sparse real', 'sparse complex', and 'hybrid'
# 'symmetric sparse real', 'symmetric sparse complex' # 'symmetric sparse real', 'symmetric sparse complex'
'constraint': 'sparse complex', 'constraint': 'sparse real',
# What type of measurements are we working with? # What type of measurements are we working with?
# Options are: 'single diffraction', 'diversity diffraction', # Options are: 'single diffraction', 'diversity diffraction',
...@@ -95,6 +96,7 @@ new_config = { ...@@ -95,6 +96,7 @@ new_config = {
'dataprocessor_plotting': True, 'dataprocessor_plotting': True,
'interpolate_result': True, # default interpolate by a factor 2 'interpolate_result': True, # default interpolate by a factor 2
'zoomin_on_result': True, # Default zoom in to 50% of the field of view 'zoomin_on_result': True, # Default zoom in to 50% of the field of view
'fourier_shift_arrays': True # If the data is centered in the middle of the array(image 'fourier_shift_arrays': True, # If the data is centered in the middle of the array(image
'tqdm_progressbar': tqdm_notebook
} }
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