- 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 ofStep
instances instead of a (frame, transform) tuple. UseWCS.pipeline.transform
andWCS.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]
- Added two new transforms -
SphericalToCartesian
andCartesianToSpherical
. [#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]
gwcs.WCS
now supports theworld_axis_object_components
andworld_axis_object_classes
methods of the low level WCS API as specified by APE 14.- Removed astropy-helpers from package. [#249]
- Added a method
fix_inputs
which rturns an unique WCS from a compound WCS by fixing inputs. [#254] - Added two new transforms -
ToDirectionCosines
andFromDirectionCosines
. [#256] - Added new transforms
WavelengthFromGratingEquation
,AnglesFromGratingEquation3D
. [#259] gwcs.WCS
now supports the newworld_axis_names
andpixel_axis_names
properties onLowLevelWCS
objects. [#260]- Update the
StokesFrame
to work for arrays of coordinates and integrate with APE 14. [#258] - Added
Snell3D
,SellmeierGlass
andSellmeierZemax
transforms. [#270]
- Changed the initialization of
TemporalFrame
to be consistent with other - coordinate frames. [#242]
- Changed the initialization of
- Ensure that
world_to_pixel_values
andpixel_to_world_values
always accept and return floats, even if the underlying transform uses units. [#248]
- Add a schema and tag for the Stokes frame. [#164]
- Added
WCS.pixel_shape
property. [#233]
- Update util.isnumerical(...) to recognize big-endian types as numeric. [#225]
- Fixed issue in unified WCS API (APE14) for transforms that use
Quantity
. [#222] - Fixed WCS API issues when
output_frame
is 1D, e.g.Spectral
only. [#232]
- Initializing a
WCS
object with apipeline
list now keeps the completeCoordinateFrame
objects in theWCS.pipeline
. The effect is that aWCS
object can now be initialized with apipeline
from a differentWCS
object. [#174] - Implement support for astropy APE 14 (https://doi.org/10.5281/zenodo.1188875). [#146]
- Added a
wcs_from_[points
function which creates a WCS object two matching sets of points(x,y)
and(ra, dec)
. [#42]
- Added a
TemporalFrame
to represent relative or absolute time axes. [#125] - Removed deprecated
grid_from_domain
function andWCS.domain
property. [#119] - Support for Python 2.x, 3.0, 3.1, 3.2, 3.3 and 3.4 was removed. [#119]
- Add a
coordinate_to_quantity
method toCoordinateFrame
which handles converting rich coordinate input to numerical values. It is an inverse of thecoordinates
method. [#133] - Add a
StokesFrame
which converts from 'I', 'Q', 'U', 'V' to 0-3. [#133] - Support serializing the base
CoordinateFrame
class to asdf, by making a specific tag and schema forFrame2D
. [#150] - Generalized the footrpint calculation to all output axes. [#167]
- The argument
output="numerical_plus"
was replaced by a bool argumentwith_units
. [#156] - Added a new flag
axis_type
to the footprint method. It controls what type of footprint to calculate. [#167]
- Fixed a bug in
bounding_box
definition when the WCS has only one axis. [#117] - Fixed a bug in
grid_from_bounding_box
which caused the grid to be larger than the image in cases when the bounding box is on the edges of an image. [#121]
LabelMapperRange
now returnsLabelMapperRange._no_label
when the key is not within any range. [#71]LabelMapperDict
now returnsLabelMapperDict._no_label
when the key does not match. [#72]- Replace
domain
withbounding_box
. [#74] - Added a
LabelMapper
model wheremapper
is an instance of ~astropy.modeling.core.Model. [#78] - Evaluating a WCS with bounding box was moved to
astropy.modeling
. [#86] - RegionsSelector now handles the case when a label does not have a corresponding transform and returns RegionsSelector.undefined_transform_value. [#86]
- GWCS now deals with axes types which are neither celestial nor spectral as "unknown" and creates a transform equivalent to the FITS linear transform. [#92]
- Added
wcs_from_fiducial
function to wcstools. [#34] - Added
domain
to the WCS object. [#36] - Added
grid_from_domain
function. [#36] - The WCS object can return now an ~astropy.coordinates.SkyCoord
or ~astropy.units.Quantity object. This is triggered by a new
parameter to the
__call__
method,output
which takes values of "numericals" (default) or "numericals_plus". [#64]
- Added
atol
argument toLabelMapperDict
, representing the absolute tolerance [#29] - The
CoordinateFrame.transform_to
method was removed [#64]
- Fixed a bug in
LabelMapperDict
where a wrong index was used.[#29] - Changed the order of the inputs when
LabelMapperArray
is evaluated as the inputs are supposed to be image coordinates. [#29] - Renamed variables in read_wcs_from_header to match loop variable [#63]
- Added ASDF requirement to setup. [#30]
- Import OrderedDict from collections, not from astropy. [#32]
Initial release on PYPI.