Go to the documentation of this file.
1266 #ifndef WCSLIB_WCSHDR
1267 #define WCSLIB_WCSHDR
1275 #define WCSHDR_none 0x00000000
1276 #define WCSHDR_all 0x000FFFFF
1277 #define WCSHDR_reject 0x10000000
1278 #define WCSHDR_strict 0x20000000
1280 #define WCSHDR_CROTAia 0x00000001
1281 #define WCSHDR_VELREFa 0x00000002
1282 #define WCSHDR_CD00i00j 0x00000004
1283 #define WCSHDR_PC00i00j 0x00000008
1284 #define WCSHDR_PROJPn 0x00000010
1285 #define WCSHDR_CD0i_0ja 0x00000020
1286 #define WCSHDR_PC0i_0ja 0x00000040
1287 #define WCSHDR_PV0i_0ma 0x00000080
1288 #define WCSHDR_PS0i_0ma 0x00000100
1289 #define WCSHDR_DOBSn 0x00000200
1290 #define WCSHDR_OBSGLBHn 0x00000400
1291 #define WCSHDR_RADECSYS 0x00000800
1292 #define WCSHDR_EPOCHa 0x00001000
1293 #define WCSHDR_VSOURCE 0x00002000
1294 #define WCSHDR_LONGKEY 0x00004000
1295 #define WCSHDR_CNAMn 0x00008000
1296 #define WCSHDR_AUXIMG 0x00010000
1297 #define WCSHDR_ALLIMG 0x00020000
1299 #define WCSHDR_IMGHEAD 0x00100000
1300 #define WCSHDR_BIMGARR 0x00200000
1301 #define WCSHDR_PIXLIST 0x00400000
1303 #define WCSHDO_none 0x00000
1304 #define WCSHDO_all 0x000FF
1305 #define WCSHDO_safe 0x0000F
1306 #define WCSHDO_DOBSn 0x00001
1307 #define WCSHDO_TPCn_ka 0x00002
1308 #define WCSHDO_PVn_ma 0x00004
1309 #define WCSHDO_CRPXna 0x00008
1310 #define WCSHDO_CNAMna 0x00010
1311 #define WCSHDO_WCSNna 0x00020
1312 #define WCSHDO_P12 0x01000
1313 #define WCSHDO_P13 0x02000
1314 #define WCSHDO_P14 0x04000
1315 #define WCSHDO_P15 0x08000
1316 #define WCSHDO_P16 0x10000
1317 #define WCSHDO_P17 0x20000
1318 #define WCSHDO_EFMT 0x40000
1333 int wcspih(
char *header,
int nkeyrec,
int relax,
int ctrl,
int *nreject,
1334 int *nwcs,
struct wcsprm **wcs);
1336 int wcsbth(
char *header,
int nkeyrec,
int relax,
int ctrl,
int keysel,
1337 int *colsel,
int *nreject,
int *nwcs,
struct wcsprm **wcs);
@ WCSHDRERR_NULL_POINTER
Definition: wcshdr.h:1325
@ WCSHDRERR_BAD_TABULAR_PARAMS
Definition: wcshdr.h:1330
const char * wcshdr_errmsg[]
Status return messages.
int wcstab(struct wcsprm *wcs)
Tabular construction routine.
@ WCSHDRERR_MEMORY
Definition: wcshdr.h:1326
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:1730
@ WCSHDRERR_SUCCESS
Definition: wcshdr.h:1324
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:1327
@ WCSHDRERR_PARSER
Definition: wcshdr.h:1328
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:1323