Tweakwcs

Latest version: v0.8.9

Safety actively analyzes 701583 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.8.3

=========================

- Fixed a bug in the ``linalg`` module due to which computation of the inverse
matrix would fallback to custom implementation instead of using ``numpy``
implementation. [185]

- Fixed incompatibilities with the future (version 2.0) release of
``numpy``. [185]

0.8.2

=====================

- Added ``bb_policy`` argument to the ``WCSGroupCatalog`` to control when
to switch to an aproximate method of computing of the bounding polygon of
a group of images. The default value is set to 50. Also added equivalent
``group_bb_policy`` argument to both ``fit_wcs`` and ``align_wcs``
functions. [176]

0.8.1

========================

- Fixed a bug in the ``XYXYMatch`` due to which bin size for the 2D histogram
pre-match alignment did not account for the pixel scale in the tangent plane.
This required a change in the API of ``XYXYMatch.__call__`` which now
_must_ have ``tp_pscale`` as input and also inputs catalogs now _must_
contain ``'TPx'`` and ``'TPy'`` columns. [173]

- Deprecated ``'tp_wcs'`` argument of the ``XYXYMatch.__call__()`` method.
Use ``'tp_pscale'`` instead. [173]

0.8.0

======================

- Exposed in top-level functions parameter ``clip_accum`` that controls
whether or not to reset the list of "bad" (clipped out) sources after each
clipping iteration during model fitting. [169]

- Deprecated ``tweakwcs.tpwcs`` module in favor of
``tweakwcs.correctors``. [170]

- Deprecated the following classes in the ``tweakwcs.tpwcs`` module:
- ``tweakwcs.tpwcs.TPWCS`` in favor of ``tweakwcs.correctors.WCSCorrector``;
- ``tweakwcs.tpwcs.JWSTgWCS`` in favor of
``tweakwcs.correctors.JWSTWCSCorrector``;
- ``tweakwcs.tpwcs.FITSWCS`` in favor of
``tweakwcs.correctors.FITSWCSCorrector``. [170]

- Deprecated ``tweakwcs.matchutils.TPMatch`` class. Use
``tweakwcs.matchutils.XYXYMatch`` instead. [170]

- Removed ``tanplane_wcs`` argument of the
``WCSGroupCatalog.apply_affine_to_wcs()`` method. ``tanplane_wcs``
was deprecated since 0.6.5. It was replaced with ``ref_tpwcs``. [170]

- Deprecated ``tpwcs`` argument of the ``WCSImageCatalog.__init__()`` as well
``tpwcs`` property of the same class. Use ``corrector`` instead. [170]

- Deprecated ``tpwcs`` argument of the ``tweakwcs.imalign.fit_wcs()`` in
favor of ``corrector``. [170]

0.7.4

=====================

This is almost exclusively a maintenance release except for close vertices
in the convex hull issue to make the code more robust.

- Set ``gwcs`` min version to 0.14. [158]

- Set ``astropy`` min version to 5.0.4. [153]

- Remove consecutive convex hull vertices that are very close to each
other. [147]

0.7.3

======================

- Fix a bug due to which ``minobj`` parameter to
``WCSGroupCatalog.align_to_ref()`` and ``align_wcs()`` was ignored. [144]

- Make peak finding code switch to center-of-mass algorithm when estimated
2D parabolic fit estimates a peak outside of the fit box. Reduce
accuracy loss in computation. [143]

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.