mpdaf icon indicating copy to clipboard operation
mpdaf copied to clipboard

bug in FSFModel.get_cube()

Open nfbouche opened this issue 1 year ago • 0 comments

when using lbda in Angstrom, the line

def get_3darray(self, lbda, shape, center=None):
    """Return FSF cube at the given wavelengths."""
    return Moffat2D(self.get_fwhm(lbda, unit='pix'), self.get_beta(lbda),
                    shape, center)

should be

def get_3darray(self, lbda, shape, center=None):
    """Return FSF cube at the given wavelengths."""
    return Moffat2D(self.get_fwhm(lbda), self.get_beta(lbda),
                    shape, center)

nfbouche avatar Feb 25 '24 15:02 nfbouche