1146 #ifndef WCSLIB_WCSHDR
1147 #define WCSLIB_WCSHDR
1155 #define WCSHDR_none 0x00000000
1156 #define WCSHDR_all 0x000FFFFF
1157 #define WCSHDR_reject 0x10000000
1158 #define WCSHDR_strict 0x20000000
1160 #define WCSHDR_CROTAia 0x00000001
1161 #define WCSHDR_EPOCHa 0x00000002
1162 #define WCSHDR_VELREFa 0x00000004
1163 #define WCSHDR_CD00i00j 0x00000008
1164 #define WCSHDR_PC00i00j 0x00000010
1165 #define WCSHDR_PROJPn 0x00000020
1166 #define WCSHDR_CD0i_0ja 0x00000040
1167 #define WCSHDR_PC0i_0ja 0x00000080
1168 #define WCSHDR_PV0i_0ma 0x00000100
1169 #define WCSHDR_PS0i_0ma 0x00000200
1170 #define WCSHDR_RADECSYS 0x00000400
1171 #define WCSHDR_VSOURCE 0x00000800
1172 #define WCSHDR_DOBSn 0x00001000
1173 #define WCSHDR_LONGKEY 0x00002000
1174 #define WCSHDR_CNAMn 0x00004000
1175 #define WCSHDR_AUXIMG 0x00008000
1176 #define WCSHDR_ALLIMG 0x00010000
1178 #define WCSHDR_IMGHEAD 0x00100000
1179 #define WCSHDR_BIMGARR 0x00200000
1180 #define WCSHDR_PIXLIST 0x00400000
1182 #define WCSHDO_none 0x00000
1183 #define WCSHDO_all 0x000FF
1184 #define WCSHDO_safe 0x0000F
1185 #define WCSHDO_DOBSn 0x00001
1186 #define WCSHDO_TPCn_ka 0x00002
1187 #define WCSHDO_PVn_ma 0x00004
1188 #define WCSHDO_CRPXna 0x00008
1189 #define WCSHDO_CNAMna 0x00010
1190 #define WCSHDO_WCSNna 0x00020
1191 #define WCSHDO_P12 0x01000
1192 #define WCSHDO_P13 0x02000
1193 #define WCSHDO_P14 0x04000
1194 #define WCSHDO_P15 0x08000
1195 #define WCSHDO_P16 0x10000
1196 #define WCSHDO_P17 0x20000
1197 #define WCSHDO_EFMT 0x40000
1212 int wcspih(
char *header,
int nkeyrec,
int relax,
int ctrl,
int *nreject,
1213 int *nwcs,
struct wcsprm **wcs);
1215 int wcsbth(
char *header,
int nkeyrec,
int relax,
int ctrl,
int keysel,
1216 int *colsel,
int *nreject,
int *nwcs,
struct wcsprm **wcs);
1220 int wcsidx(
int nwcs,
struct wcsprm **wcs,
int alts[27]);
1222 int wcsbdx(
int nwcs,
struct wcsprm **wcs,
int type,
short alts[1000][28]);
1226 int wcshdo(
int relax,
struct wcsprm *wcs,
int *nkeyrec,
char **header);
Definition: wcshdr.h:1205
int wcsvfree(int *nwcs, struct wcsprm **wcs)
Free the array of wcsprm structs.
const char * wcshdr_errmsg[]
Status return messages.
Definition: wcshdr.h:1207
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:1202
Coordinate transformation parameters.
Definition: wcs.h:1584
Definition: wcshdr.h:1203
Definition: wcshdr.h:1204
int wcsbdx(int nwcs, struct wcsprm **wcs, int type, short alts[1000][28])
Index alternate coordinate representions.
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:1206
Definition: wcshdr.h:1209
int wcstab(struct wcsprm *wcs)
Tabular construction routine.
int wcsidx(int nwcs, struct wcsprm **wcs, int alts[27])
Index alternate coordinate representations.
int wcshdo(int relax, struct wcsprm *wcs, int *nkeyrec, char **header)
Write out a wcsprm struct as a FITS header.