Releases: spacetelescope/tweakwcs
A maintenance release
More robust area computations. Raise custom exceptions instead of generic.
-
Use a more robust algorithm for computing intersection polygon area that
ignores intersection polygons that raiseMalformedPolygonError
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 typeNotEnoughCatalogs
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
Do not use failed to align images in refcat expansion. Improved 2dhist.
Package setup infrastructure reorganization.
Package setup infrastructure reorganization. Python 3.12 compatibility improvements.
Maintenance release: Improved compatibility with numpy 2.0. Minor bug fixes and improvements
0.8.3 Compatibility with numpy 2.0 and minor bug fixes
Allow appriximate bounding polygons for large image groups
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
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
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
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
.