11 Commits

Author SHA256 Message Date
4a8ace92fb - update to 0.20.0:
* Replace ``pkg_resources`` with ``importlib.metadata``. [#478]
  * Serialize and deserialize ``pixel_shape`` with asdf. [#480]
  * Synchronize ``array_shape`` and ``pixel_shape`` attributes of
    WCS objects. [#439]
  * Fix failures and warnings with numpy 2.0. [#472]
  * Remove deprecated old ``bounding_box``. The new
    implementation is released with
  * Refactor ``CoordinateFrame.axis_physical_types``. [#459]
  * ``StokesFrame`` uses now ``astropy.coordinates.StokesCoord``.
  * Dropped support for Python 3.8. [#451]
  * Fixed a call to ``astropy.coordinates`` in
    ``wcstools.wcs_from_points``. [#448]
  * Code and docstrings clean up. [#460]
  * Register all available asdf extension manifests from ``asdf-
    wcs-schemas``
  * Added an option to to_fits_sip() to be able to specify the
  * Added support for providing custom range of degrees in
  * Fix a formula for estimating crpix in to_fits_sip() so that
  * Allow sub-pixel sampling of the WCS model when computing SIP
  * Fixed a bug in to_fits_sip due to which inv_degree was
  * Added insert_frame method to modify the pipeline of a
  * Added to_fits_tab method to generate FITS header and binary
  * Added in_image function for testing whether a point in world
    coordinates maps back to the domain of definition of the
  * Updated versions of schemas for gwcs objects based on
    latest versions of transform schemas in asdf-standard.
  * Added a wcs.Step class to allow serialization to ASDF to
  * WCS.pipeline now is a list of Step instances instead of
    a (frame, transform) tuple. Use WCS.pipeline.transform and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=21
2023-12-07 22:40:14 +00:00
71adfafe0d Accepting request 1058262 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.18.3
  * Fix pixel scale formula used by iterative inverse by @mcara in
    #423
  * refactor for Tox 4 by @zacharyburnett in #428
  * Improve stability of SIP fitting. Fix constant term - CRPIX -
    in SIP by @mcara in #427
  * use canonical name of RTD config and enable nitpicky mode to
    catch broken links in docs by @zacharyburnett in #430
  * add downstream tests for JWST and Roman calibration pipelines
    by @zacharyburnett in #415
  * fix CRDS_PATH in CI when running downstream tests by
    @zacharyburnett in #432

OBS-URL: https://build.opensuse.org/request/show/1058262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=19
2023-01-13 15:19:39 +00:00
6173f4118f - Update to 0.18.2
* Corrected the reported requested forward SIP accuracy and
    reported fit residuals by to_fits_sip() and to_fits(). [#413,
    #419]
  * Fixed a bug due to which the check for divergence in
    _fit_2D_poly() and hence in to_fits() and to_fits_sip() was
    ignored. [#414]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=17
2022-10-27 17:06:47 +00:00
9e373d0c16 Accepting request 962341 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.18.1
  * Bug fix update
  * Remove references to the ``six`` package. [#402]
  * Fix asdf-astropy related test failure

OBS-URL: https://build.opensuse.org/request/show/962341
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=15
2022-03-17 08:21:15 +00:00
2442790471 Accepting request 942968 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.18.0
  * Bug Fixes
  * Updated code in region.py with latest improvements and bug
    fixes from stsci.skypac.regions.py [#382]
  * New Features
  * Enabled CompoundBoundingBox support for wcs. [#375]
  * Moved schemas to standalone package asdf-wcs-schemas. Reworked
    the serialization code to use ASDF converters. [#388]
- Release 0.17.1
  * Bug Fixes
  * Fixed a bug with StokesProfile and array types. [#384]
- Release 0.17.0
  * Bug Fixes
  * world_axis_object_components and world_axis_object_classes now
    ensure unique keys in CompositeFrame and CoordinateFrame.
    [#356]
  * Fix issue where RuntimeWarning is raised when there are NaNs in
    coordinates in angle wrapping code [#367]
  * Fix deprecation warning when wcs is initialized with a pipeline
    [#368]
  * Use CD formalism in WCS.to_fits_sip(). [#380]
  * New Features
  * wcs_from_points now includes fitting for the inverse transform.
    [#349]
  * Generalized WCS.to_fits_sip to be able to create a 2D celestial
    FITS WCS from celestial subspace of the WCS. Also, now
    WCS.to_fits_sip` supports arbitrary order of output axes.
    [#357]
  * API Changes
  * Modified interface to wcs_from_points function to better match

OBS-URL: https://build.opensuse.org/request/show/942968
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=14
2021-12-29 00:03:42 +00:00
7457de45ae Accepting request 871178 from home:bnavigator:branches:devel:languages:python:numeric
- Actually do the update to 0.16.1 m-)
- Skip schema tests not tolerating any deprecation warnings from
  numpy 1.20 -- Already fixed upstream, but patch is too
  unspecific gh#spacetelescope/gwcs#353

OBS-URL: https://build.opensuse.org/request/show/871178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=12
2021-02-11 11:34:12 +00:00
3246ec6d80 Accepting request 863949 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.16.1
  * Fix a regression with pixel_to_world for output frames with one
    axis. [#342]
- Skip python36 because python36-astropy is not available.

OBS-URL: https://build.opensuse.org/request/show/863949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=10
2021-01-18 07:09:40 +00:00
30fe926058 Accepting request 856937 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.16.0
  * Added an option to to_fits_sip() to be able to specify the 
    reference point (crpix) of the FITS WCS. [#337]
  * Added support for providing custom range of degrees in 
    to_fits_sip. [#339]
  * Bounding_box now works with tuple of Quantities. [#331]
  * Fix a formula for estimating crpix in to_fits_sip() so that 
    crpix is near the center of the bounding box. [#337]
  * Allow sub-pixel sampling of the WCS model when computing SIP 
    approximation in to_fits_sip(). [#338]
  * Fixed a bug in to_fits_sip due to which inv_degree was 
    ignored. [#339]
- 0.15.0 changelog
  * Added insert_frame method to modify the pipeline of a 
    WCS object. [#299]
  * Added to_fits_tab method to generate FITS header and binary 
    table extension following FITS WCS -TAB convention. [#295]
  * Added in_image function for testing whether a point in world 
    coordinates maps back to the domain of definition of the 
    forward transformation. [#322]
  * Implemented iterative inverse for imaging WCS. [#324]
- 0.14.0 changelog
  * Updated versions of schemas for gwcs objects based on 
    latest versions of transform schemas in asdf-standard. 
    [#307]
  * Added a wcs.Step class to allow serialization to ASDF to 
    use references. [#317]
  * WCS.pipeline now is a list of Step instances instead of 
    a (frame, transform) tuple. Use WCS.pipeline.transform and 
    WCS.pipeline.frame to access them. [#319]
  * Fix a bug in polygon fill for zero-width bounding boxes. 
    [#293]
  * Add an optional parameter input_frame to 
    ``wcstools.wcs_from_fiducial`. [#312]

OBS-URL: https://build.opensuse.org/request/show/856937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=8
2020-12-19 20:53:41 +00:00
a629e19a33 - update to 0.13.0
- Added two new transforms - ``SphericalToCartesian`` and
  ``CartesianToSpherical``. [#275, #284, #285]
  - Added ``to_fits_sip`` method to generate FITS header with SIP keywords [#286]
  - Added ``get_ctype_from_ucd`` function. [#288]
  - Fixed an off by one issue in ``utils.make_fitswcs_transform``. [#290]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=6
2020-06-08 13:18:22 +00:00
Todd R
1d2802b325 Accepting request 761638 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to 0.12.0
  + New Features
    * ``gwcs.WCS`` now supports the ``world_axis_object_components`` and
      ``world_axis_object_classes`` methods of the low level WCS API as specified by
      APE 14.
    * Removed astropy-helpers from package.
    * Added a method ``fix_inputs`` which rturns an unique WCS from a compound
      WCS by fixing inputs.
    * Added two new transforms - ``ToDirectionCosines`` and ``FromDirectionCosines``.
    * Added new transforms ``WavelengthFromGratingEquation``, ``AnglesFromGratingEquation3D``.
    * ``gwcs.WCS`` now supports the new ``world_axis_names`` and
      ``pixel_axis_names`` properties on ``LowLevelWCS`` objects.
    * Update the ``StokesFrame`` to work for arrays of coordinates and integrate
      with APE 14.
    * Added ``Snell3D``, ``SellmeierGlass`` and ``SellmeierZemax`` transforms.
  + API Changes
    * Changed the initialization of ``TemporalFrame`` to be consistent with other
       coordinate frames.
  + Bug Fixes
    * Ensure that ``world_to_pixel_values`` and ``pixel_to_world_values`` always
      accept and return floats, even if the underlying transform uses units.
- Drop python2 subpackage due to dependencies dropping python2.

OBS-URL: https://build.opensuse.org/request/show/761638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=4
2020-01-07 15:09:21 +00:00
Tomáš Chvátal
663a99feae Accepting request 730896 from home:bnavigator
An Astropy helper package for managing world coordinate system.
Recommended by python-photutils

OBS-URL: https://build.opensuse.org/request/show/730896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gwcs?expand=0&rev=1
2019-09-16 07:37:58 +00:00