Go to the documentation of this file.
1274 #ifndef WCSLIB_WCSHDR
1275 #define WCSLIB_WCSHDR
1283 #define WCSHDR_none 0x00000000
1284 #define WCSHDR_all 0x000FFFFF
1285 #define WCSHDR_reject 0x10000000
1286 #define WCSHDR_strict 0x20000000
1288 #define WCSHDR_CROTAia 0x00000001
1289 #define WCSHDR_VELREFa 0x00000002
1290 #define WCSHDR_CD00i00j 0x00000004
1291 #define WCSHDR_PC00i00j 0x00000008
1292 #define WCSHDR_PROJPn 0x00000010
1293 #define WCSHDR_CD0i_0ja 0x00000020
1294 #define WCSHDR_PC0i_0ja 0x00000040
1295 #define WCSHDR_PV0i_0ma 0x00000080
1296 #define WCSHDR_PS0i_0ma 0x00000100
1297 #define WCSHDR_DOBSn 0x00000200
1298 #define WCSHDR_OBSGLBHn 0x00000400
1299 #define WCSHDR_RADECSYS 0x00000800
1300 #define WCSHDR_EPOCHa 0x00001000
1301 #define WCSHDR_VSOURCE 0x00002000
1302 #define WCSHDR_DATEREF 0x00004000
1303 #define WCSHDR_LONGKEY 0x00008000
1304 #define WCSHDR_CNAMn 0x00010000
1305 #define WCSHDR_AUXIMG 0x00020000
1306 #define WCSHDR_ALLIMG 0x00040000
1308 #define WCSHDR_IMGHEAD 0x00100000
1309 #define WCSHDR_BIMGARR 0x00200000
1310 #define WCSHDR_PIXLIST 0x00400000
1312 #define WCSHDO_none 0x00000
1313 #define WCSHDO_all 0x000FF
1314 #define WCSHDO_safe 0x0000F
1315 #define WCSHDO_DOBSn 0x00001
1316 #define WCSHDO_TPCn_ka 0x00002
1317 #define WCSHDO_PVn_ma 0x00004
1318 #define WCSHDO_CRPXna 0x00008
1319 #define WCSHDO_CNAMna 0x00010
1320 #define WCSHDO_WCSNna 0x00020
1321 #define WCSHDO_P12 0x01000
1322 #define WCSHDO_P13 0x02000
1323 #define WCSHDO_P14 0x04000
1324 #define WCSHDO_P15 0x08000
1325 #define WCSHDO_P16 0x10000
1326 #define WCSHDO_P17 0x20000
1327 #define WCSHDO_EFMT 0x40000
1342 int wcspih(
char *header,
int nkeyrec,
int relax,
int ctrl,
int *nreject,
1343 int *nwcs,
struct wcsprm **wcs);
1345 int wcsbth(
char *header,
int nkeyrec,
int relax,
int ctrl,
int keysel,
1346 int *colsel,
int *nreject,
int *nwcs,
struct wcsprm **wcs);
@ WCSHDRERR_NULL_POINTER
Definition: wcshdr.h:1334
@ WCSHDRERR_BAD_TABULAR_PARAMS
Definition: wcshdr.h:1339
const char * wcshdr_errmsg[]
Status return messages.
int wcstab(struct wcsprm *wcs)
Tabular construction routine.
@ WCSHDRERR_MEMORY
Definition: wcshdr.h:1335
int wcshdo(int ctrl, struct wcsprm *wcs, int *nkeyrec, char **header)
Write out a wcsprm struct as a FITS header.
int wcsidx(int nwcs, struct wcsprm **wcs, int alts[27])
Index alternate coordinate representations.
Coordinate transformation parameters.
Definition: wcs.h:1810
@ WCSHDRERR_SUCCESS
Definition: wcshdr.h:1333
int wcsvfree(int *nwcs, struct wcsprm **wcs)
Free the array of wcsprm structs.
int wcsbth(char *header, int nkeyrec, int relax, int ctrl, int keysel, int *colsel, int *nreject, int *nwcs, struct wcsprm **wcs)
FITS WCS parser routine for binary table and image headers.
@ WCSHDRERR_BAD_COLUMN
Definition: wcshdr.h:1336
@ WCSHDRERR_PARSER
Definition: wcshdr.h:1337
int wcspih(char *header, int nkeyrec, int relax, int ctrl, int *nreject, int *nwcs, struct wcsprm **wcs)
FITS WCS parser routine for image headers.
int wcsbdx(int nwcs, struct wcsprm **wcs, int type, short alts[1000][28])
Index alternate coordinate representions.
wcshdr_errmsg_enum
Definition: wcshdr.h:1332