Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ New Features
moved into the shared ``_nanfuncs._setup``, and a bool or otherwise
non-integer ``axis`` now raises ``TypeError`` rather than
``NotImplementedError``. [#1006]
- The three operations that depend on a NumPy-only library --
``wcs_project`` (reproject), ``subtract_overscan`` with a ``model``
(``astropy.modeling``) and ``cosmicray_lacosmic`` (astroscrappy) -- now
make that host round trip explicitly: they copy their input to NumPy on
the host, run, and copy every array they return, data and mask alike,
back to the array namespace and device of the input, so a non-NumPy
caller never receives a NumPy array in its place. Each warns once per
call site with the new ``ccdproc.HostCopyWarning`` (a subclass of
``AstropyUserWarning``); NumPy input is neither copied nor warned about,
and ``combine(output_file=...)`` still copies silently because nothing
from that copy returns to the caller. [#930, #933, #935, #1011]

Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -47,6 +58,9 @@ Other Changes and Additions
Bug Fixes
^^^^^^^^^

- ``wcs_project`` no longer returns a NumPy-backed ``CCDData`` for non-NumPy
input: the reprojected data and mask are converted back to the array
namespace and device of the input image. [#930, #1011]
- ``flat_correct`` now checks the flat's mask with ``xp.any`` instead of the
``mask.any()`` method, which arrays of spec-only array-API namespaces do
not have. [#1005]
Expand Down
Loading