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);
1341 int wcsidx(
int nwcs,
struct wcsprm **wcs,
int alts[27]);
1343 int wcsbdx(
int nwcs,
struct wcsprm **wcs,
int type,
short alts[1000][28]);
1347 int wcshdo(
int ctrl,
struct wcsprm *wcs,
int *nkeyrec,
char **header);
Definition: wcshdr.h:1326
int wcsvfree(int *nwcs, struct wcsprm **wcs)
Free the array of wcsprm structs.
const char * wcshdr_errmsg[]
Status return messages.
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.
wcshdr_errmsg_enum
Definition: wcshdr.h:1323
Coordinate transformation parameters.
Definition: wcs.h:1730
Definition: wcshdr.h:1324
Definition: wcshdr.h:1325
int wcsbdx(int nwcs, struct wcsprm **wcs, int type, short alts[1000][28])
Index alternate coordinate representions.
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.
Definition: wcshdr.h:1327
Definition: wcshdr.h:1330
int wcstab(struct wcsprm *wcs)
Tabular construction routine.
int wcsidx(int nwcs, struct wcsprm **wcs, int alts[27])
Index alternate coordinate representations.