Go to the documentation of this file.
970 #define DISP2X_ARGS int inverse, const int iparm[], const double dparm[], \
971 int ncrd, const double rawcrd[], double *discrd
974 #define DISX2P_ARGS int inverse, const int iparm[], const double dparm[], \
975 int ncrd, const double discrd[], double *rawcrd
990 #define DPLEN (sizeof(struct dpkey)/sizeof(int))
1042 #define DISLEN (sizeof(struct disprm)/sizeof(int))
1048 int type,
int i,
double f);
1075 const double pixsamp[],
int *nsamp,
1076 double maxdis[],
double *maxtot,
1077 double avgdis[],
double *avgtot,
1078 double rmsdis[],
double *rmstot);
@ DISERR_BAD_PARAM
Definition: dis.h:964
double ** dparm
Definition: dis.h:1019
int dpkeyi(const struct dpkey *dp)
Get the data value in a dpkey struct as int.
int discpy(int alloc, const struct disprm *dissrc, struct disprm *disdst)
Copy routine for the disprm struct.
char(* m_dtype)[72]
Definition: dis.h:1036
int(** disx2p)(DISX2P_ARGS)
Definition: dis.h:1031
int disset(struct disprm *dis)
Setup routine for the disprm struct.
int m_flag
Definition: dis.h:1035
double ** scale
Definition: dis.h:1016
int type
Definition: dis.h:982
@ DISERR_NULL_POINTER
Definition: dis.h:962
int m_naxis
Definition: dis.h:1035
int ndis
Definition: dis.h:1022
int diswarp(struct disprm *dis, const double pixblc[], const double pixtrc[], const double pixsamp[], int *nsamp, double maxdis[], double *maxtot, double avgdis[], double *avgtot, double rmsdis[], double *rmstot)
Compute measures of distortion.
int naxis
Definition: dis.h:1000
struct dpkey * dp
Definition: dis.h:1005
char field[72]
Definition: dis.h:980
int disx2p(struct disprm *dis, const double discrd[], double rawcrd[])
Apply de-distortion function.
int i_naxis
Definition: dis.h:1021
double * maxdis
Definition: dis.h:1006
dis_errmsg_enum
Definition: dis.h:960
int * Nhat
Definition: dis.h:1012
int(** disp2x)(DISP2X_ARGS)
Definition: dis.h:1030
int ndp
Definition: dis.h:1003
double * tmpmem
Definition: dis.h:1033
#define DISP2X_ARGS
Definition: dis.h:970
struct wcserr * err
Definition: dis.h:1026
char(* dtype)[72]
Definition: dis.h:1002
double * m_maxdis
Definition: dis.h:1038
double f
Definition: dis.h:985
int dishdo(struct disprm *dis)
write FITS headers using TPD.
int disprt(const struct disprm *dis)
Print routine for the disprm struct.
double dpkeyd(const struct dpkey *dp)
Get the data value in a dpkey struct as double.
Distortion parameters.
Definition: dis.h:993
#define DISX2P_ARGS
Definition: dis.h:974
double ** offset
Definition: dis.h:1015
const char * dis_errmsg[]
Status return messages.
int disini(int alloc, int naxis, struct disprm *dis)
Default constructor for the disprm struct.
Error message handling.
Definition: wcserr.h:223
int flag
Definition: dis.h:996
struct dpkey * m_dp
Definition: dis.h:1037
int i
Definition: dis.h:984
double totdis
Definition: dis.h:1007
int disp2x(struct disprm *dis, const double rawcrd[], double discrd[])
Apply distortion function.
@ DISERR_DEDISTORT
Definition: dis.h:966
int disfree(struct disprm *dis)
Destructor for the disprm struct.
int disndp(int n)
Memory allocation for DPja and DQia.
@ DISERR_DISTORT
Definition: dis.h:965
@ DISERR_SUCCESS
Definition: dis.h:961
int ** axmap
Definition: dis.h:1011
int disinit(int alloc, int naxis, struct disprm *dis, int ndpmax)
Default constructor for the disprm struct.
@ DISERR_MEMORY
Definition: dis.h:963
int j
Definition: dis.h:981
int ndpmax
Definition: dis.h:1004
Store for DPja and DQia keyvalues.
Definition: dis.h:979
int disperr(const struct disprm *dis, const char *prefix)
Print error messages from a disprm struct.
int dpfill(struct dpkey *dp, const char *keyword, const char *field, int j, int type, int i, double f)
Fill the contents of a dpkey struct.
int ** iparm
Definition: dis.h:1017