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