Skip to content

bug in FSFModel.get_cube() #36

@nfbouche

Description

@nfbouche

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions