Stwcs

Latest version: v1.7.2

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

Scan your dependencies

Page 1 of 3

1.7.3

------------------

1.7.2

-----------------

Bug Fixes
^^^^^^^^^

- Fixed bug affecting data with no astrometry database solutions so
that they can now be processed successfully. [189]

1.7.1

------------------
- Filenames for new headerlet files based on updated/new
IDCTABs now based on hash of WCSNAME instead of WCSNAME itself. [183]

1.7.0

------------------

- Make the code more robust when defining ``extname`` attribute of a WCS for
multi-extension FITS files when their primary header contains ``'EXTVER'``
keyword but not the ``'EXTNAME'`` keywords. [179]

- Fix a bug in ``stwcs.wcsutil.altwcs.archive_wcs`` due to which
a ``str`` type ``ext`` would raise an exception. [177]

- Modify ``updatewcs`` to insure that the distortion keywords remain
in the same part of the primary header as the rest of the calibration
reference file names. [175]

- Update ``build_reference_wcs`` to accept list of filenames as well
single filenames or a single ``HDUList`` object as input. [173]

- Add support for computing new `a priori` WCS solutions when running
``updatewcs``. [170]

- Add new parameter to ``updatewcs`` to limit the astrometry database
WCSs appended to the file to only those based on the same IDCTAB as
specified in the image header. [170]

- Add new parameter to ``updatewcs`` to specify whether or not to
remove duplicate headerlet extensions from the FITS file when updating
the image using the astrometry database. [172]

1.6.1

------------------

- Fix a bug in ``wcsutil.wcscorr.init_wcscorr()`` that would result in crash
when run on drizzled images that do not have OPUS WCS (WCS key 'O'). [165]

- Make WCS and headerlet name comparisons case-insensitive when applying
headerlets. [163]

- Deprecate ``accuracy`` argument in ``all_world2pix`` and replace it with
``tolerance`` in order to have compatible function signature with
``astropy``'s ``all_world2pix()``'. [166]

1.6.0

------------------

- Prevent same WCS from being updated from astrometry database headerlet. [111]

- Revise how headerlets are applied as primary WCS [122]

- Add comments to WCS keywords for ``IDC*``, ``OCX``, ``OCY``, and alternate
WCS. [127]

- Primary WCS keywords no longer contain trailing spaces which, in the past,
lead to duplicate keywords in image headers. [131]

- AltWCS: Non-standard WCS keywords defined by, e.g., ``TweakReg`` are now
archived, read, and restored together with standard WCS keywords. [135]

- WCS keywords that are not specific to an alternate WCS (such as ``MJDREF``)
are no longer archived. [141]

- Fix a bug in ``_restore()`` due to which ``TDDALPHA`` and ``TDDBETA`` were
not reset to ``0.0`` when restoring wrom the ``'OPUS'`` WCS with key ``'O'``. [141]

- Increased reliability of detecting alternate WCS in image headers. [141]

- Abbreviated comments for ``D2IM``, ``CPDIS`` lookup table distortions. [142]

- Add comments to ``WCSNAMEa`` header keywords. [143]

- Do not archive primary WCS when applying headerlet as primary when existing
primary WCS was created from the same headerlet that is being applied, based
on the value of ``'HDRNAME'`` keyword. [147]

- Added ``archive_wcs()`` function with more advanced control over how to
archive primary WCS and with more capabilities, such as auto-renaming. [153]

- Remove HST-specific WCS keywords from SCI extensions that, following HST
convention, are supposed to be present in primary header only. [159]

- Do not archive primary WCS when applying headerlet as primary if distortion
model changes. [161]

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.