Skip to content

Array API: subtract_overscan model fitting goes through numpy-only astropy.modeling #933

Description

@mwcraig

Problem

subtract_overscan with model=... fits via astropy.modeling:

of = fitting.LinearLSQFitter()

astropy's fitters operate on numpy internally (LinearLSQFitter ends up in np.linalg.lstsq), so CuPy input hits the implicit-conversion error. This matches the test_subtract_overscan_model failures noted in #910.

Options


Found during a review of the array API implementation from #885; follow-up to #909 / #910.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions