Tweakwcs

Latest version: v0.8.9

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

Scan your dependencies

Page 4 of 7

0.6.2

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

- When WCS has valid bounding box, estimate scale at the center of the
bounding box. [117]

- Adjust the point at which tangent plane-to-tangent plane transformation
is computed by 1/2 pixels for JWST corrections. This correction should
have no measurable impact on computed corrections. [115]

0.6.1

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

- Fixed a bug in applying JWST correction for the case when alignment is
performed twice on the same image. Due to this bug the inverse transformation
was not updated. [112]

0.6.0

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

- Fix a possible crash when aligning FITS WCS images due to an unusual way
``stwcs.wcsutil.all_world2pix`` handles (or not) scalar arguments. [110]

- Modified the angle at which the reported rotation angles are reported.
Now rotation angles have the range ``[-180, 180]`` degrees. [109]

- Added support FITS WCS that use ``PC`` matrix instead of the ``CD`` matrix
used in HSTs WCS. [108]

- Bug fix for alignment of multi-chip FITS images: correction of how
transformations from the reference tangent plane are converted to
individual images' tangent planes. [106]

- Significant re-organization of the ``fit_info`` dictionary. ``rot`` now
becomes ``proper_rot`` and ``rotxy`` now becomes ``rot`` containing only
``rotx`` and ``roty``. Also, ``scale`` now is a tuple of only two scales
``sx`` and ``sy``. The geometric mean scale is now a separate field
``'<scale>'`` as well as the arithmetic mean of rotation angles
(``'<rot>'``). Finally, ``'offset'`` in the fit functions from the
``linearfit`` module was renamed to ``'shift'`` in order to match the
same field returned by functions from the ``imalign`` module. [105]

- Linear fit functions now return the fit matrix ``F`` instead of its
transpose. [100]

- Linear fit functions (in the ``linearfit`` module) use ``longdouble``
for internal computations. [100]

- Re-designed the ``JWSTgWCS`` corrector class to rely exclusively on
basic models available in ``astropy`` and ``gwcs`` instead of the ``TPCorr``
class provided by the ``jwst`` pipeline. This eliminates the need to install
the ``jwst`` pipeline in order to align ``JWST`` images. [96, 98]

0.5.3

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

- Added logic to allow some input catalogs to be empty and to allow the
alignment to proceed as long as there are at least two non-empty
(image or group) input catalogs. [94]

0.5.2

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

- Fixed a deprecation issue in logging and added logic to compute image group's
catalog name using a common prefix (if exists) of the names of constituent
images. [92]

- Package version is now handled by ``setuptools_scm``.
[93]

0.5.1

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

- Fixed a bug in the "2dhist" algorithm resulting in a crash when 2D histogram
has multiple maxima of the same value and no other value larger than
one. [90]

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.