1732 #define wtbarr wtbarr_s // See prologue of wtbarr.h. 1735 #define WCSSUB_LONGITUDE 0x1001 1736 #define WCSSUB_LATITUDE 0x1002 1737 #define WCSSUB_CUBEFACE 0x1004 1738 #define WCSSUB_CELESTIAL 0x1007 1739 #define WCSSUB_SPECTRAL 0x1008 1740 #define WCSSUB_STOKES 0x1010 1743 #define WCSCOMPARE_ANCILLARY 0x0001 1744 #define WCSCOMPARE_TILING 0x0002 1745 #define WCSCOMPARE_CRPIX 0x0004 1782 #define PVLEN (sizeof(struct pvcard)/sizeof(int)) 1792 #define PSLEN (sizeof(struct pscard)/sizeof(int)) 1804 #define AUXLEN (sizeof(struct auxprm)/sizeof(int)) 1862 char timesys[72], trefpos[72], trefdir[72], plephem[72];
1868 char dateobs[72], datebeg[72], dateavg[72], dateend[72];
1902 char lngtyp[8], lattyp[8];
1923 double *m_crpix, *
m_pc, *m_cdelt, *m_crval;
1924 char (*m_cunit)[72], (*m_ctype)[72];
1929 char (*m_cname)[72];
1937 #define WCSLEN (sizeof(struct wcsprm)/sizeof(int)) 1946 int wcsinit(
int alloc,
int naxis,
struct wcsprm *wcs,
int npvmax,
int npsmax,
1951 int wcssub(
int alloc,
const struct wcsprm *wcssrc,
int *nsub,
int axes[],
1955 const struct wcsprm *wcs2,
int *equal);
1967 int wcsp2s(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double pixcrd[],
1968 double imgcrd[],
double phi[],
double theta[],
double world[],
1971 int wcss2p(
struct wcsprm *wcs,
int ncoord,
int nelem,
const double world[],
1972 double phi[],
double theta[],
double imgcrd[],
double pixcrd[],
1975 int wcsmix(
struct wcsprm *wcs,
int mixpix,
int mixcel,
const double vspan[],
1976 double vstep,
int viter,
double world[],
double phi[],
1977 double theta[],
double imgcrd[],
double pixcrd[]);
1984 #define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0x0, 0x0, wcsdst) 1988 #define wcsini_errmsg wcs_errmsg 1989 #define wcssub_errmsg wcs_errmsg 1990 #define wcscopy_errmsg wcs_errmsg 1991 #define wcsfree_errmsg wcs_errmsg 1992 #define wcsprt_errmsg wcs_errmsg 1993 #define wcsset_errmsg wcs_errmsg 1994 #define wcsp2s_errmsg wcs_errmsg 1995 #define wcss2p_errmsg wcs_errmsg 1996 #define wcsmix_errmsg wcs_errmsg 2003 #endif // WCSLIB_WCS
int wcsfree(struct wcsprm *wcs)
Destructor for the wcsprm struct.
struct wtbarr * m_wtb
Definition: wcs.h:1933
double * m_czphs
Definition: wcs.h:1930
double * czphs
Definition: wcs.h:1857
int wcssub(int alloc, const struct wcsprm *wcssrc, int *nsub, int axes[], struct wcsprm *wcsdst)
Subimage extraction routine for the wcsprm struct.
double xposure
Definition: wcs.h:1872
double * cd
Definition: wcs.h:1839
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:1928
struct pscard * ps
Definition: wcs.h:1835
double * cdelt
Definition: wcs.h:1817
int i
Definition: wcs.h:1776
double * cperi
Definition: wcs.h:1858
int wcsauxi(int alloc, struct wcsprm *wcs)
Default constructor for the auxprm struct.
double tstop
Definition: wcs.h:1871
int npv
Definition: wcs.h:1829
struct tabprm * tab
Definition: wcs.h:1896
struct wcserr * err
Definition: wcs.h:1918
int npsmax
Definition: wcs.h:1834
Error message handling.
Definition: wcserr.h:222
int cubeface
Definition: wcs.h:1905
int flag
Definition: wcs.h:1810
double equinox
Definition: wcs.h:1880
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:1777
int wcsbchk(struct wcsprm *wcs, int bounds)
Enable/disable bounds checking.
double lonpole
Definition: wcs.h:1823
int nps
Definition: wcs.h:1833
struct pvcard * pv
Definition: wcs.h:1831
Spectral transformation parameters.
Definition: spc.h:806
struct tabprm * m_tab
Definition: wcs.h:1932
Celestial transformation parameters.
Definition: cel.h:397
Linear transformation parameters.
Definition: lin.h:630
wcs_errmsg_enum
Definition: wcs.h:1750
struct pscard * m_ps
Definition: wcs.h:1926
int wcsprt(const struct wcsprm *wcs)
Print routine for the wcsprm struct.
double rsun_ref
Definition: wcs.h:1796
int ntab
Definition: wcs.h:1894
double * crota
Definition: wcs.h:1840
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:1922
double timepixr
Definition: wcs.h:1875
double restfrq
Definition: wcs.h:1826
int * types
Definition: wcs.h:1906
int wcssptr(struct wcsprm *wcs, int *i, char ctype[9])
Spectral axis translation.
int nwtb
Definition: wcs.h:1895
double dsun_obs
Definition: wcs.h:1797
int wcsset(struct wcsprm *wcs)
Setup routine for the wcsprm struct.
Coordinate transformation parameters.
Definition: wcs.h:1807
int colnum
Definition: wcs.h:1851
double * m_pc
Definition: wcs.h:1923
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:1886
struct wtbarr * wtb
Definition: wcs.h:1897
double hglt_obs
Definition: wcs.h:1800
double * crder
Definition: wcs.h:1855
double restwav
Definition: wcs.h:1827
int wcsnpv(int n)
Memory allocation for PVi_ma.
int naxis
Definition: wcs.h:1814
int m
Definition: wcs.h:1787
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.
int spec
Definition: wcs.h:1903
const char * wcs_errmsg[]
Status return messages.
Extraction of coordinate lookup tables from BINTABLE.
Definition: getwcstab.h:169
int wcsperr(const struct wcsprm *wcs, const char *prefix)
Print error messages from a wcsprm struct.
double latpole
Definition: wcs.h:1824
double velosys
Definition: wcs.h:1883
Additional auxiliary parameters.
Definition: wcs.h:1795
Tabular transformation parameters.
Definition: tab.h:545
int velref
Definition: wcs.h:1845
double timsyer
Definition: wcs.h:1874
int i
Definition: wcs.h:1786
const char * wcslib_version(int vers[3])
double * csyer
Definition: wcs.h:1856
Store for PVi_ma keyrecords.
Definition: wcs.h:1775
double * crpix
Definition: wcs.h:1815
double timeoffs
Definition: wcs.h:1866
int wcsini(int alloc, int naxis, struct wcsprm *wcs)
Default constructor for the wcsprm struct.
double crln_obs
Definition: wcs.h:1798
int npvmax
Definition: wcs.h:1830
double value
Definition: wcs.h:1778
Store for PSi_ma keyrecords.
Definition: wcs.h:1785
double * crval
Definition: wcs.h:1818
int * colax
Definition: wcs.h:1852
int altlin
Definition: wcs.h:1841
double hgln_obs
Definition: wcs.h:1799
double * pc
Definition: wcs.h:1816
double mjdobs
Definition: wcs.h:1869
double * m_crota
Definition: wcs.h:1927
struct auxprm * m_aux
Definition: wcs.h:1931
double jepoch
Definition: wcs.h:1870
struct pvcard * m_pv
Definition: wcs.h:1925
struct auxprm * aux
Definition: wcs.h:1890
double zsource
Definition: wcs.h:1884
int wcsnps(int n)
Memory allocation for PSi_ma.