diff --git a/enpt/cli.py b/enpt/cli.py index cc4f30cf17361d9c0c2c39938f53cf3c381f94f9..bd8336cbddd659aeece5f78678712c2f63582885 100644 --- a/enpt/cli.py +++ b/enpt/cli.py @@ -135,7 +135,7 @@ def get_enpt_argparser(): help="Algorithm for dead pixel correction ('spectral' or 'spatial')") add('--deadpix_P_interp_spectral', type=str, default="linear", help="Spectral interpolation algorithm to be used during dead pixel correction " - "('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic')") + "('linear', 'quadratic', 'cubic')") add('--deadpix_P_interp_spatial', type=str, default="linear", help="Spatial interpolation algorithm to be used during dead pixel correction " "('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic')") diff --git a/enpt/options/config.py b/enpt/options/config.py index c5d391510f92688cee7d572ae6853baa448520bd..cbb8e0e1bc8e48bf5a0ea652affa77e092bb222e 100644 --- a/enpt/options/config.py +++ b/enpt/options/config.py @@ -322,7 +322,7 @@ class EnPTConfig(object): :key deadpix_P_interp_spectral: Spectral interpolation algorithm to be used during dead pixel correction - ('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic') + ('linear', 'quadratic', 'cubic') :key deadpix_P_interp_spatial: Spatial interpolation algorithm to be used during dead pixel correction diff --git a/enpt/options/options_default.json b/enpt/options/options_default.json index 1096e7c821841662cb6ed7b22c8702b79307de6b..c16a5022866ffbf22276f1c74fbc99b98659fc61 100644 --- a/enpt/options/options_default.json +++ b/enpt/options/options_default.json @@ -84,7 +84,7 @@ 'spectral': interpolate in the spectral domain 'spatial': interpolate in the spatial domain*/ "interp_method_spectral": "linear", /*spectral interpolation algorithm - ('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic', ...)*/ + ('linear', 'quadratic', 'cubic')*/ "interp_method_spatial": "linear" /*spatial interpolation algorithm ('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic', ...)*/ }, diff --git a/enpt/options/options_schema.py b/enpt/options/options_schema.py index 3b832b35696d37a03a9f9dca7cd9a060a242a782..20bbb2749a6579327de0ff98da5d23deee454a53 100644 --- a/enpt/options/options_schema.py +++ b/enpt/options/options_schema.py @@ -106,7 +106,7 @@ enpt_schema_input = dict( run_processor=dict(type='boolean', required=False), algorithm=dict(type='string', required=False, allowed=['spectral', 'spatial']), interp_method_spectral=dict(type='string', required=False, - allowed=['linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic']), + allowed=['linear', 'quadratic', 'cubic']), interp_method_spatial=dict(type='string', required=False, allowed=['linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic']), )),