Loading .gitignore +1 −0 Original line number Diff line number Diff line doc/ __pycache__/ src/crmask.py +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ import sys __all__ = ['CRMask'] class CRMask: def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = 'crmask.ini', **kwargs): def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = '../conf/crmask.ini', **kwargs): """ Instantiation of CRMask with specified model configuration. Loading Loading @@ -65,7 +65,7 @@ class CRMask: gpu_flag : (optional) boolean whether use GPU, default is False config_path : (optional) string configuration file path, default is ``./crmask.ini`` configuration file path, default is ``../conf/crmask.ini`` """ self.model = model Loading Loading
src/crmask.py +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ import sys __all__ = ['CRMask'] class CRMask: def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = 'crmask.ini', **kwargs): def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = '../conf/crmask.ini', **kwargs): """ Instantiation of CRMask with specified model configuration. Loading Loading @@ -65,7 +65,7 @@ class CRMask: gpu_flag : (optional) boolean whether use GPU, default is False config_path : (optional) string configuration file path, default is ``./crmask.ini`` configuration file path, default is ``../conf/crmask.ini`` """ self.model = model Loading