1665 #define wtbarr wtbarr_s 1668 #define WCSSUB_LONGITUDE 0x1001 1669 #define WCSSUB_LATITUDE 0x1002 1670 #define WCSSUB_CUBEFACE 0x1004 1671 #define WCSSUB_CELESTIAL 0x1007 1672 #define WCSSUB_SPECTRAL 0x1008 1673 #define WCSSUB_STOKES 0x1010 1676 #define WCSCOMPARE_ANCILLARY 0x0001 1677 #define WCSCOMPARE_TILING 0x0002 1678 #define WCSCOMPARE_CRPIX 0x0004 1717 #define PVLEN (sizeof(struct pvcard)/sizeof(int)) 1727 #define PSLEN (sizeof(struct pscard)/sizeof(int)) 1854 #define WCSLEN (sizeof(struct wcsprm)/sizeof(int)) 1863 int wcsinit(
int alloc,
int naxis,
struct wcsprm *wcs,
int npvmax,
int npsmax,
1866 int wcssub(
int alloc,
const struct wcsprm *wcssrc,
int *nsub,
int axes[],
1870 const struct wcsprm *wcs2,
int *equal);
1882 int wcsp2s(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double pixcrd[],
1883 double imgcrd[],
double phi[],
double theta[],
double world[],
1886 int wcss2p(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double world[],
1887 double phi[],
double theta[],
double imgcrd[],
double pixcrd[],
1890 int wcsmix(
struct wcsprm *wcs,
int mixpix,
int mixcel,
const double vspan[],
1891 double vstep,
int viter,
double world[],
double phi[],
1892 double theta[],
double imgcrd[],
double pixcrd[]);
1899 #define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0x0, 0x0, wcsdst) 1903 #define wcsini_errmsg wcs_errmsg 1904 #define wcssub_errmsg wcs_errmsg 1905 #define wcscopy_errmsg wcs_errmsg 1906 #define wcsfree_errmsg wcs_errmsg 1907 #define wcsprt_errmsg wcs_errmsg 1908 #define wcsset_errmsg wcs_errmsg 1909 #define wcsp2s_errmsg wcs_errmsg 1910 #define wcss2p_errmsg wcs_errmsg 1911 #define wcsmix_errmsg wcs_errmsg
char dateobs[72]
Definition: wcs.h:1790
int wcsfree(struct wcsprm *wcs)
Destructor for the wcsprm struct.
double mjdend
Definition: wcs.h:1791
char radesys[72]
Definition: wcs.h:1801
struct wtbarr * m_wtb
Definition: wcs.h:1850
double * m_czphs
Definition: wcs.h:1848
double * czphs
Definition: wcs.h:1779
int wcssub(int alloc, const struct wcsprm *wcssrc, int *nsub, int axes[], struct wcsprm *wcsdst)
Subimage extraction routine for the wcsprm struct.
double * m_crval
Definition: wcs.h:1841
double xposure
Definition: wcs.h:1794
double * cd
Definition: wcs.h:1762
char timesys[72]
Definition: wcs.h:1784
int wcsinit(int alloc, int naxis, struct wcsprm *wcs, int npvmax, int npsmax, int ndpmax)
Default constructor for the wcsprm struct.
int * m_colax
Definition: wcs.h:1846
double obsgeo[6]
Definition: wcs.h:1799
struct pscard * ps
Definition: wcs.h:1758
double bepoch
Definition: wcs.h:1792
double * cdelt
Definition: wcs.h:1740
int i
Definition: wcs.h:1711
double * cperi
Definition: wcs.h:1780
double tstop
Definition: wcs.h:1793
int npv
Definition: wcs.h:1752
struct tabprm * tab
Definition: wcs.h:1814
struct wcserr * err
Definition: wcs.h:1836
int lng
Definition: wcs.h:1821
char(* m_cunit)[72]
Definition: wcs.h:1842
int npsmax
Definition: wcs.h:1757
char alt[4]
Definition: wcs.h:1772
char(* m_cname)[72]
Definition: wcs.h:1847
Error message handling.
Definition: wcserr.h:223
int i
Definition: getwcstab.h:171
struct spcprm spc
Definition: wcs.h:1828
int cubeface
Definition: wcs.h:1823
char timeunit[72]
Definition: wcs.h:1785
int flag
Definition: wcs.h:1733
double equinox
Definition: wcs.h:1802
int wcss2p(struct wcsprm *wcs, int ncoord, int nelem, const double world[], double phi[], double theta[], double imgcrd[], double pixcrd[], int stat[])
World-to-pixel transformation.
int m
Definition: wcs.h:1712
int wcsbchk(struct wcsprm *wcs, int bounds)
Enable/disable bounds checking.
double lonpole
Definition: wcs.h:1746
int nps
Definition: wcs.h:1756
struct pvcard * pv
Definition: wcs.h:1754
Spectral transformation parameters.
Definition: spc.h:802
struct tabprm * m_tab
Definition: wcs.h:1849
Celestial transformation parameters.
Definition: cel.h:393
Linear transformation parameters.
Definition: lin.h:631
char datebeg[72]
Definition: wcs.h:1790
wcs_errmsg_enum
Definition: wcs.h:1683
struct pscard * m_ps
Definition: wcs.h:1844
int wcsprt(const struct wcsprm *wcs)
Print routine for the wcsprm struct.
char(* cunit)[72]
Definition: wcs.h:1743
int ntab
Definition: wcs.h:1812
double * crota
Definition: wcs.h:1763
int wcscompare(int cmp, double tol, const struct wcsprm *wcs1, const struct wcsprm *wcs2, int *equal)
Compare two wcsprm structs for equality.
int m_naxis
Definition: wcs.h:1840
double * m_cd
Definition: wcs.h:1845
double mjdref[2]
Definition: wcs.h:1787
double * m_cperi
Definition: wcs.h:1848
double timepixr
Definition: wcs.h:1797
char dateref[72]
Definition: wcs.h:1786
double restfrq
Definition: wcs.h:1749
char specsys[72]
Definition: wcs.h:1803
int * types
Definition: wcs.h:1824
int wcssptr(struct wcsprm *wcs, int *i, char ctype[9])
Spectral axis translation.
char value[72]
Definition: wcs.h:1723
int nwtb
Definition: wcs.h:1813
char dateavg[72]
Definition: wcs.h:1790
char ssysobs[72]
Definition: wcs.h:1804
char(* cname)[72]
Definition: wcs.h:1776
int wcsset(struct wcsprm *wcs)
Setup routine for the wcsprm struct.
Coordinate transformation parameters.
Definition: wcs.h:1730
int colnum
Definition: wcs.h:1773
double * m_pc
Definition: wcs.h:1841
int wcsp2s(struct wcsprm *wcs, int ncoord, int nelem, const double pixcrd[], double imgcrd[], double phi[], double theta[], double world[], int stat[])
Pixel-to-world transformation.
double velangl
Definition: wcs.h:1808
char plephem[72]
Definition: wcs.h:1784
struct wtbarr * wtb
Definition: wcs.h:1815
double * crder
Definition: wcs.h:1777
double restwav
Definition: wcs.h:1750
double * m_crder
Definition: wcs.h:1848
char lngtyp[8]
Definition: wcs.h:1820
int wcsnpv(int n)
Memory allocation for PVi_ma.
int naxis
Definition: wcs.h:1737
int m
Definition: wcs.h:1722
int wcsmix(struct wcsprm *wcs, int mixpix, int mixcel, const double vspan[], double vstep, int viter, double world[], double phi[], double theta[], double imgcrd[], double pixcrd[])
Hybrid coordinate transformation.
double timrder
Definition: wcs.h:1796
double tstart
Definition: wcs.h:1793
int spec
Definition: wcs.h:1821
const char * wcs_errmsg[]
Status return messages.
Extraction of coordinate lookup tables from BINTABLE.
Definition: getwcstab.h:170
int wcsperr(const struct wcsprm *wcs, const char *prefix)
Print error messages from a wcsprm struct.
double latpole
Definition: wcs.h:1747
double * m_crpix
Definition: wcs.h:1841
char trefdir[72]
Definition: wcs.h:1784
double velosys
Definition: wcs.h:1805
char obsorbit[72]
Definition: wcs.h:1800
double timedel
Definition: wcs.h:1797
double * m_csyer
Definition: wcs.h:1848
Tabular transformation parameters.
Definition: tab.h:546
int velref
Definition: wcs.h:1768
double timsyer
Definition: wcs.h:1796
int i
Definition: wcs.h:1721
char dateend[72]
Definition: wcs.h:1790
const char * wcslib_version(int vers[3])
double * csyer
Definition: wcs.h:1778
int lat
Definition: wcs.h:1821
Store for PVi_ma keyrecords.
Definition: wcs.h:1710
double * crpix
Definition: wcs.h:1738
double mjdavg
Definition: wcs.h:1791
double timeoffs
Definition: wcs.h:1788
struct celprm cel
Definition: wcs.h:1827
int wcsini(int alloc, int naxis, struct wcsprm *wcs)
Default constructor for the wcsprm struct.
double * m_cdelt
Definition: wcs.h:1841
int npvmax
Definition: wcs.h:1753
double value
Definition: wcs.h:1713
Store for PSi_ma keyrecords.
Definition: wcs.h:1720
double * crval
Definition: wcs.h:1741
int * colax
Definition: wcs.h:1774
int altlin
Definition: wcs.h:1764
struct linprm lin
Definition: wcs.h:1826
char(* ctype)[72]
Definition: wcs.h:1744
double * pc
Definition: wcs.h:1739
double mjdobs
Definition: wcs.h:1791
double * m_crota
Definition: wcs.h:1845
double mjdbeg
Definition: wcs.h:1791
char ssyssrc[72]
Definition: wcs.h:1807
char lattyp[8]
Definition: wcs.h:1820
double jepoch
Definition: wcs.h:1792
struct pvcard * m_pv
Definition: wcs.h:1843
int m_flag
Definition: wcs.h:1840
double zsource
Definition: wcs.h:1806
char trefpos[72]
Definition: wcs.h:1784
double telapse
Definition: wcs.h:1794
char wcsname[72]
Definition: wcs.h:1782
int wcsnps(int n)
Memory allocation for PSi_ma.