========================
- Matched indices, linear fit results and fit residuals are now set in the
input "WCS catalogs" ``meta['fit_info']`` instead of
``meta['tweakwcs_info']``. [57]
- Updated example notebook to reflect changes to API. [57]
- Allow ``TPWCS`` classes to set ``meta`` during object instantiation.
This allows attaching, for example, a source catalog to the tangent-plane
WCS corrector object. [57]
- ``align_wcs`` no longer supports ``NDData`` input. Instead catalogs can be
provided directly in the ``meta`` attribute of ``TPWCS``-derived WCS
"correctors". This fundamentally transfers the responsibility of
instantiating the correct tangent-plane WCS to the caller. This, in turn,
will allow future WCS to be supported by providing a custom ``TPWCS``-derived
corrector defined externally to ``tweakwcs`` package. Second benefit is that
image data no longer need to be kept in memory in ``NDData`` objects as
image data are not needed for image alignment once catalogs have been
created. [57]
- Renamed ``tweak_wcs`` to ``fit_wcs`` and ``tweak_image_wcs`` to
``align_wcs``. [57]
- Fixed a bug due to which the code might crash due to an undefined ``ra``
variable, see issue 55. [56]
- ``tweak_image_wcs()`` now returns effective reference catalog used for
image alignment. [54]
- Modified how IDs are assigned to the reference catalog source positions when
``expand_refcat`` is `True`: instead of having all sources numbered
consecutively starting with 1, now the code will attempt to preserve
the original IDs (if any) of the input reference catalog (``refcat``)
or an input image used as a reference catalog and consecutively number only
the sources being added to the ``refcat``. [54]
- Modified the clipping algorithm to start with all valid sources at each
iteration. In other words, clippings do not accumulate by default.
Old behavior can be replicated by setting ``clip_accum`` to `True`. [53]
- Cleaned-up ``iter_linear_fit`` interface as well as simplified the
``fit`` dictionary returned by ``iter_linear_fit``. [53]
- Added option to specify statistics used for clipping. [51, 52]