|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/testing.html
Дата изменения: Unknown Дата индексирования: Sun Apr 10 18:37:48 2016 Кодировка: Поисковые слова: http www.badastronomy.com phpbb index.php |
|
WCSLIB
5.15
|
WCSLIB has an extensive test suite that also provides programming templates as well as demonstrations. Test programs, with names that indicate the main WCSLIB routine under test, reside in ./{C,Fortran}/test and each contains a brief description of its purpose.
The high- and middle-level test programs are more instructive for applications programming, while the low-level tests are vital for verifying the integrity of the mathematical routines.
wcstab.keyrec, and then extracts the coordinate description from it following the steps outlined in wcshdr.h. wcs.keyrec, one keyrecord per line, together with a program, tofits, that compiles these into a valid FITS file. wcs.keyrec to test the generic FITS header parsing routine.
grid of celestial longitude and latitude for a number of selected projections. It plots a test grid for each projection and indicates the location of successful and failed solutions. twcssub tests the extraction of a coordinate description for a subimage from a wcsprm struct by wcssub().
degree for most projections; this is slightly less than 3 microarcsec. The worst case closure figure is reported for each projection and this is usually better than the reporting tolerance by several orders of magnitude. tprj1 and tsph test closure at all points on the
grid of native longitude and latitude and to within
of any latitude of divergence for those projections that cannot represent the full sphere. Closure is also tested at a sequence of points close to the reference point (tprj1) or pole (tsph).
for the zenithal, cylindrical and conic equal area projections (ZEA, CEA and COE), and near divergent latitudes of projections such as the azimuthal perspective and stereographic projections (AZP and STG). Rounding errors may also carry points between faces of the quad-cube projections (CSC, QSC, and TSC). Although such excursions may produce long lists of non-closure points, this is not necessarily indicative of a fundamental problem. CSC) is a polynomial approximation and its closure tolerance is intrinsically poor.
1.8.10