diff --git a/archive/cuda_extension/engines/DM_gpu.py b/archive/cuda_extension/engines/DM_gpu.py index 399eb143c..9e81ad7fa 100644 --- a/archive/cuda_extension/engines/DM_gpu.py +++ b/archive/cuda_extension/engines/DM_gpu.py @@ -57,6 +57,7 @@ class DMGpu(DMNpy): default = 'linear' type = str help = Subpixel interpolation; 'fourier','linear' or None for no interpolation + choices = ['fourier','linear',None] [update_object_first] default = True diff --git a/archive/cuda_extension/engines/DM_npy.py b/archive/cuda_extension/engines/DM_npy.py index f601a46dd..6fce4bc5d 100644 --- a/archive/cuda_extension/engines/DM_npy.py +++ b/archive/cuda_extension/engines/DM_npy.py @@ -55,6 +55,7 @@ class DMNpy(DM): default = 'linear' type = str help = Subpixel interpolation; 'fourier','linear' or None for no interpolation + choices = ['fourier','linear',None] [update_object_first] default = True diff --git a/archive/engines/DM.py b/archive/engines/DM.py index 50936bd42..1124158a2 100644 --- a/archive/engines/DM.py +++ b/archive/engines/DM.py @@ -55,6 +55,7 @@ class DM(PositionCorrectionEngine): default = 'linear' type = str help = Subpixel interpolation; 'fourier','linear' or None for no interpolation + choices = ['fourier','linear',None] [update_object_first] default = True diff --git a/ptypy/core/data.py b/ptypy/core/data.py index 636857bca..288def4bf 100644 --- a/ptypy/core/data.py +++ b/ptypy/core/data.py @@ -114,6 +114,7 @@ class PtyScan(object): default = data help = Determines what will be loaded in parallel doc = Choose from ``None``, ``'data'``, ``'common'``, ``'all'`` + choices = ['data', 'common', 'all'] [rebin] type = int @@ -139,6 +140,7 @@ class PtyScan(object): Alternatively, a 3-tuple of booleans may be provided ``(do_transpose, do_flipud, do_fliplr)`` + choices = [0, 1, 2, 3, 4, 5, 6, 7] userlevel = 1 [min_frames] diff --git a/ptypy/core/illumination.py b/ptypy/core/illumination.py index af5d4c06b..ddf1f98f7 100644 --- a/ptypy/core/illumination.py +++ b/ptypy/core/illumination.py @@ -130,6 +130,7 @@ - *