def __new__(cls, *args, **kwargs):

        if not cls._instance:
            cls._instance = super(Settings, cls).__new__(cls, *args, **kwargs)
        return cls._instance
Compute the mean image of the dictionary
dataset/ETHPy150Open Nextdoor/ndscheduler/ndscheduler/__init__.py/Settings.__new__--crossover with--dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/sct_segment_gray_matter_asman/2015-08-17-full_scripts_before_cleaning/sct_asman.py/ModelDictionary.compute_mean_dic_image