def __init__(self, source=None, verbose=False, **kwargs) : """Initialisation of the opening of a Cube """ if source is not None: self.__dict__.update(source.__dict__) else : Cube.__init__(self, **kwargs) self.verbose = verbose
def __init__(self, source=None, verbose=False, **kwargs): """Initialisation of the opening of a Cube """ if source is not None: self.__dict__.update(source.__dict__) else: Cube.__init__(self, **kwargs) self.verbose = verbose self._debug = kwargs.pop("debug", False) # PSF for that Cube self.psf_function = kwargs.pop("psf_function", "moffat") self.psf_fwhm0 = kwargs.pop("psf_fwhm0", 0.5) self.psf_l0 = kwargs.pop("psf_l0", 6483.58) self.psf_nmoffat = kwargs.pop("psf_nmoffat", 2.8) self.psf_b = kwargs.pop("psf_b", -3.0e-5)