Skip to content

Releases: spacetelescope/tweakwcs

A maintenance release

28 Sep 06:56
66128f0
Compare
Choose a tag to compare

Upgraded tests and disabled a docstring test.

More robust area computations. Raise custom exceptions instead of generic.

17 Jul 17:43
f86b8f9
Compare
Choose a tag to compare
  • Use a more robust algorithm for computing intersection polygon area that
    ignores intersection polygons that raise MalformedPolygonError in the
    spherical_geometry package. This may result in sub-optimal alignment
    order but in practice, it should have minimal effect
    on the end result. [#205]

  • align_wcs now will raise a custom exception of type NotEnoughCatalogs
    when there are not enough input catalogs to perform alignment. [#203]

  • XYXYMatch now will raise a custom exception of type
    MatchSourceConfusionError when multipe reference sources match a single
    input source. [#204]

Fix a bug in align_wcs that disables expand_refcat

29 Mar 22:27
3b35816
Compare
Choose a tag to compare

Do not use failed to align images in refcat expansion. Improved 2dhist.

08 Jan 20:52
8b9232a
Compare
Choose a tag to compare

Images that fail to align to the reference catalog when expand_refcat enabled will no longer be added to the reference catalog. [#195]

Improved algorithm for initial shift estimation used in catalog matching (2dhist) reduces both memory usage and often processing speed. [#196]

Package setup infrastructure reorganization.

01 Dec 04:09
7d621a8
Compare
Choose a tag to compare

Package setup infrastructure reorganization. Python 3.12 compatibility improvements.

Maintenance release: Improved compatibility with numpy 2.0. Minor bug fixes and improvements

13 Sep 00:07
6e2297c
Compare
Choose a tag to compare

Allow appriximate bounding polygons for large image groups

14 Apr 04:50
62d4cdc
Compare
Choose a tag to compare

This release adds an argument (group_bb_policy and bb_policy) that controls how the bounding box is computed for groups of images. It introduces a new algorithm that approximates the bounding box using convex hull of individual images' bounding polygons instead of computing the exact union of individual polygons. The exact algorithm becomes extremely slow for large groups of images (>50).

Also see #176

Fix a bug in computation of bin size in 2D histogram in XYXYMatch

24 Dec 04:01
52f21be
Compare
Choose a tag to compare

Bin size of the 2D histogram used to find initial shifts for matching of JWST catalogs now are computed based on pixel scale.

0.8.0

25 Aug 23:11
5db0bf4
Compare
Choose a tag to compare

Rename classes and modules. Expose clip_accum.

  • 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]
  • Renamed modules and classes (with planned short deprecation period); [#170]
  • Removed previously deprecated parameters. [#170]

0.7.4

13 Apr 21:31
c4d3228
Compare
Choose a tag to compare

More robust computation of convex hull.

Increased minimum astropy version to 5.0.4 and gwcs version to 0.14 in order to resolve numerous deprecation warnings. Mostly a maintenance release that also includes a new test matrix and switched from using distutils' LooseVersion to packaging's Version.

The only significant improvement is a more robust computation of the convex hull by removing very close vertices in order to reduce crashes in spherical_geometry.