1672 #define WCSSUB_LONGITUDE 0x1001 1673 #define WCSSUB_LATITUDE 0x1002 1674 #define WCSSUB_CUBEFACE 0x1004 1675 #define WCSSUB_CELESTIAL 0x1007 1676 #define WCSSUB_SPECTRAL 0x1008 1677 #define WCSSUB_STOKES 0x1010 1680 #define WCSCOMPARE_ANCILLARY 0x0001 1681 #define WCSCOMPARE_TILING 0x0002 1682 #define WCSCOMPARE_CRPIX 0x0004 1721 #define PVLEN (sizeof(struct pvcard)/sizeof(int)) 1731 #define PSLEN (sizeof(struct pscard)/sizeof(int)) 1858 #define WCSLEN (sizeof(struct wcsprm)/sizeof(int)) 1867 int wcsinit(
int alloc,
int naxis,
struct wcsprm *wcs,
int npvmax,
int npsmax,
1870 int wcssub(
int alloc,
const struct wcsprm *wcssrc,
int *nsub,
int axes[],
1874 const struct wcsprm *wcs2,
int *equal);
1886 int wcsp2s(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double pixcrd[],
1887 double imgcrd[],
double phi[],
double theta[],
double world[],
1890 int wcss2p(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double world[],
1891 double phi[],
double theta[],
double imgcrd[],
double pixcrd[],
1894 int wcsmix(
struct wcsprm *wcs,
int mixpix,
int mixcel,
const double vspan[],
1895 double vstep,
int viter,
double world[],
double phi[],
1896 double theta[],
double imgcrd[],
double pixcrd[]);
1903 #define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0x0, 0x0, wcsdst) 1907 #define wcsini_errmsg wcs_errmsg 1908 #define wcssub_errmsg wcs_errmsg 1909 #define wcscopy_errmsg wcs_errmsg 1910 #define wcsfree_errmsg wcs_errmsg 1911 #define wcsprt_errmsg wcs_errmsg 1912 #define wcsset_errmsg wcs_errmsg 1913 #define wcsp2s_errmsg wcs_errmsg 1914 #define wcss2p_errmsg wcs_errmsg 1915 #define wcsmix_errmsg wcs_errmsg
char dateobs[72]
Definition: wcs.h:1794
int wcsfree(struct wcsprm *wcs)
Destructor for the wcsprm struct.
double mjdend
Definition: wcs.h:1795
char radesys[72]
Definition: wcs.h:1805
struct wtbarr * m_wtb
Definition: wcs.h:1854
double * m_czphs
Definition: wcs.h:1852
double * czphs
Definition: wcs.h:1783
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:1845
double xposure
Definition: wcs.h:1798
double * cd
Definition: wcs.h:1766
char timesys[72]
Definition: wcs.h:1788
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:1850
double obsgeo[6]
Definition: wcs.h:1803
struct pscard * ps
Definition: wcs.h:1762
double bepoch
Definition: wcs.h:1796
double * cdelt
Definition: wcs.h:1744
int i
Definition: wcs.h:1715
double * cperi
Definition: wcs.h:1784
double tstop
Definition: wcs.h:1797
int npv
Definition: wcs.h:1756
struct tabprm * tab
Definition: wcs.h:1818
struct wcserr * err
Definition: wcs.h:1840
int lng
Definition: wcs.h:1825
char(* m_cunit)[72]
Definition: wcs.h:1846
int npsmax
Definition: wcs.h:1761
char alt[4]
Definition: wcs.h:1776
char(* m_cname)[72]
Definition: wcs.h:1851
Error message handling.
Definition: wcserr.h:223
int i
Definition: getwcstab.h:171
struct spcprm spc
Definition: wcs.h:1832
int cubeface
Definition: wcs.h:1827
char timeunit[72]
Definition: wcs.h:1789
int flag
Definition: wcs.h:1737
double equinox
Definition: wcs.h:1806
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:1716
int wcsbchk(struct wcsprm *wcs, int bounds)
Enable/disable bounds checking.
double lonpole
Definition: wcs.h:1750
int nps
Definition: wcs.h:1760
struct pvcard * pv
Definition: wcs.h:1758
Spectral transformation parameters.
Definition: spc.h:802
struct tabprm * m_tab
Definition: wcs.h:1853
Celestial transformation parameters.
Definition: cel.h:392
Linear transformation parameters.
Definition: lin.h:631
char datebeg[72]
Definition: wcs.h:1794
wcs_errmsg_enum
Definition: wcs.h:1687
struct pscard * m_ps
Definition: wcs.h:1848
int wcsprt(const struct wcsprm *wcs)
Print routine for the wcsprm struct.
char(* cunit)[72]
Definition: wcs.h:1747
int ntab
Definition: wcs.h:1816
double * crota
Definition: wcs.h:1767
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:1844
double * m_cd
Definition: wcs.h:1849
double mjdref[2]
Definition: wcs.h:1791
double * m_cperi
Definition: wcs.h:1852
double timepixr
Definition: wcs.h:1801
char dateref[72]
Definition: wcs.h:1790
double restfrq
Definition: wcs.h:1753
char specsys[72]
Definition: wcs.h:1807
int * types
Definition: wcs.h:1828
int wcssptr(struct wcsprm *wcs, int *i, char ctype[9])
Spectral axis translation.
char value[72]
Definition: wcs.h:1727
int nwtb
Definition: wcs.h:1817
char dateavg[72]
Definition: wcs.h:1794
char ssysobs[72]
Definition: wcs.h:1808
char(* cname)[72]
Definition: wcs.h:1780
int wcsset(struct wcsprm *wcs)
Setup routine for the wcsprm struct.
Coordinate transformation parameters.
Definition: wcs.h:1734
int colnum
Definition: wcs.h:1777
double * m_pc
Definition: wcs.h:1845
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:1812
char plephem[72]
Definition: wcs.h:1788
struct wtbarr * wtb
Definition: wcs.h:1819
double * crder
Definition: wcs.h:1781
double restwav
Definition: wcs.h:1754
double * m_crder
Definition: wcs.h:1852
char lngtyp[8]
Definition: wcs.h:1824
int wcsnpv(int n)
Memory allocation for PVi_ma.
int naxis
Definition: wcs.h:1741
int m
Definition: wcs.h:1726
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:1800
double tstart
Definition: wcs.h:1797
int spec
Definition: wcs.h:1825
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:1751
double * m_crpix
Definition: wcs.h:1845
char trefdir[72]
Definition: wcs.h:1788
double velosys
Definition: wcs.h:1809
char obsorbit[72]
Definition: wcs.h:1804
double timedel
Definition: wcs.h:1801
double * m_csyer
Definition: wcs.h:1852
Tabular transformation parameters.
Definition: tab.h:546
int velref
Definition: wcs.h:1772
double timsyer
Definition: wcs.h:1800
int i
Definition: wcs.h:1725
char dateend[72]
Definition: wcs.h:1794
const char * wcslib_version(int vers[3])
double * csyer
Definition: wcs.h:1782
int lat
Definition: wcs.h:1825
Store for PVi_ma keyrecords.
Definition: wcs.h:1714
double * crpix
Definition: wcs.h:1742
double mjdavg
Definition: wcs.h:1795
double timeoffs
Definition: wcs.h:1792
struct celprm cel
Definition: wcs.h:1831
int wcsini(int alloc, int naxis, struct wcsprm *wcs)
Default constructor for the wcsprm struct.
double * m_cdelt
Definition: wcs.h:1845
int npvmax
Definition: wcs.h:1757
double value
Definition: wcs.h:1717
Store for PSi_ma keyrecords.
Definition: wcs.h:1724
double * crval
Definition: wcs.h:1745
int * colax
Definition: wcs.h:1778
int altlin
Definition: wcs.h:1768
struct linprm lin
Definition: wcs.h:1830
char(* ctype)[72]
Definition: wcs.h:1748
double * pc
Definition: wcs.h:1743
double mjdobs
Definition: wcs.h:1795
double * m_crota
Definition: wcs.h:1849
double mjdbeg
Definition: wcs.h:1795
char ssyssrc[72]
Definition: wcs.h:1811
char lattyp[8]
Definition: wcs.h:1824
double jepoch
Definition: wcs.h:1796
struct pvcard * m_pv
Definition: wcs.h:1847
int m_flag
Definition: wcs.h:1844
double zsource
Definition: wcs.h:1810
char trefpos[72]
Definition: wcs.h:1788
double telapse
Definition: wcs.h:1798
char wcsname[72]
Definition: wcs.h:1786
int wcsnps(int n)
Memory allocation for PSi_ma.