Skip to content

Releases: spacetelescope/stwcs

STWCS 1.7.3

06 May 18:15
d0ba69c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.0...1.7.3

STWCS 1.7.2

29 Nov 19:04
d389a1d
Compare
Choose a tag to compare

Fixed a bug affecting data with no astrometry database solutions.

STWCS 1.7.1

20 Oct 15:31
82b95ab
Compare
Choose a tag to compare
  • Filenames for new headerlet files based on updated/new
    IDCTABs now based on hash of WCSNAME instead of WCSNAME itself. [#183]

STWCS 1.7.0

10 Aug 18:08
54bd20f
Compare
Choose a tag to compare
  • 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]

STWCS 1.6.1

10 Dec 13:10
65cc2d9
Compare
Choose a tag to compare
  • 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]

STWCS 1.6.0

16 Jul 09:54
92cb409
Compare
Choose a tag to compare

This release includes improvements to the process of updating headers with solutions from the astrometry database.

  • When updating from a headerlet, the Primary WCS is archived only if not already archived
  • When updating from a headerlet, t he Primary WCS is not archived if the distortion models differ.
  • Tweakreg specific keywords are archived with the alternate WCS.
  • General clean up and improvements to keywords and keyword comments.

For details see CHANGES.rst.

STWCS v 1.5.3

23 Sep 20:03
e122684
Compare
Choose a tag to compare
  • Correct a problem where best WCS solutions were not applied with repeated reruns of updatewcs.
  • Correct the logic for replacing a headerlet with one which has a different distortion model.
  • Add stdout to logging handlers.

STWCS-1.5.1

03 Jul 19:16
f809506
Compare
Choose a tag to compare

Changes

  • Stwcs 1.5.1 requires stsci.tools >= 3.5.2.

  • Allow updatewcs to be called with HDUList objects as input.

  • Update the XML parser for the astrometry database and switch the default to use
    the MAST TEST server which is publicly accessible.

  • Gracefully ignore when the astrometry database returns an empty result for
    an image.

  • Fixed a bug in converting a PC to a CD matrix.

STWCS 1.4.2

07 Aug 17:48
94d0afa
Compare
Choose a tag to compare

Bug fix release:

  • Fix installation script
  • Fix a bug in restoring headerlets from a HeaderletHDU to a SCI extension [#60]
  • Fix logic to gracefully handle lack of any WCS solutions from the astrometry database for an exposure. [#62]