[fitsbits] WCSLIB 4.0

Mark Calabretta mcalabre at atnf.CSIRO.AU
Sun Feb 6 19:46:09 EST 2005


Greetings,

WCSLIB 4.0 is now available from http://www.atnf.csiro.au/~mcalabre.

Change notes for the C library are appended.

The main development in this release is the implementation of tabular
coordinates for Paper III.  There are also new routines to compute the
WCS keyword values when translating spectral types, e.g. to express a
'FREQ' axis as 'ZOPT-F2W'.  Also the implementation of the new HEALPix
(HPX) projection type.

The change in major revision from 3.x to 4.x marks a change in copyright
from LGPL to GPL; no function interfaces have been changed.

Mark Calabretta
ATNF

>>>

WCSLIB version 4.0 (2005/02/07)
-------------------------------

* Changed the copyright notice in all library routines from LGPL to GPL as
  recommended by the FSF (http://www.gnu.org/licenses/why-not-lgpl.html).

* Implemented tabular coordinates (-TAB).  New files: tab.h and tab.c, and
  test programs ttab[123].c.  These have not been incorporated into the
  higher-level (wcs.h) functions at this stage.

* New spectral functions: spchek() checks a spectral algorithm code for
  legitimacy; from the spectral keywords given, spcspx() derives the
  corresponding CRVALi and CDELTi keywords for the underlying P-, and X-type
  spectral coordinates; spcxps() does the opposite; spctrn() combines spcspx()
  and spcxps() to translate one set of spectral keywords into another, e.g.
  'FREQ' -> 'ZOPT-F2W'.

* Implemented the HEALPix (HPX) projection in the prj functions.

* Added a new function, wcsidx(), to return an array that indexes the
  alternate coordinate descriptions found by wcspih() (suggested by
  Bill Pence, NASA/Goddard).  Modified tpih1.c to exercise it.

* In wcsp2s() and wcss2p(), check that nelem equals or exceeds wcs.naxis;
  emphasised this in the usage notes for these functions in tab.h (suggested
  by Bill Pence, NASA/Goddard).

* Moved the macros used for UNDEFINED values and the corresponding macro test
  function, undefined(), to wcsmath.h for general use.  Previously, UNDEFINED
  values were only used internally, but they are now visible in some of the
  structs, particularly values of undefined auxiliary header cards in the
  wcsprm struct.

* Remove const from the double args in the specx() prototype in spx.h to match
  the definition in spx.c (reported by Bryan Irby, NASA/Goddard).

* Fixed the interaction between the FLAVOUR and PGPLOTLIB definitions in the
  C and FORTRAN Makefiles by introducing a separate variable, DO_PLOTS, to
  control whether to exercise test programs that require PGPLOT (reported by
  Bill Pence, NASA/Goddard).  Also added an "install" target to all Makefiles.




More information about the fitsbits mailing list