823 #define DISP2X_ARGS int inverse, const int iparm[], const double dparm[], \
824 int ncrd, const double rawcrd[], double *discrd
827 #define DISX2P_ARGS int inverse, const int iparm[], const double dparm[], \
828 int ncrd, const double discrd[], double *rawcrd
843 #define DPLEN (sizeof(struct dpkey)/sizeof(int))
895 #define DISLEN (sizeof(struct disprm)/sizeof(int))
901 int type,
int i,
double f);
915 int disp2x(
struct disprm *dis,
const double rawcrd[],
double discrd[]);
917 int disx2p(
struct disprm *dis,
const double discrd[],
double rawcrd[]);
919 int diswarp(
struct disprm *dis,
const double pixblc[],
const double pixtrc[],
920 const double pixsamp[],
int *nsamp,
921 double maxdis[],
double *maxtot,
922 double avgdis[],
double *avgtot,
923 double rmsdis[],
double *rmstot);
int type
Definition: dis.h:835
int flag
Definition: dis.h:849
Store for DPja and DQia keyvalues.
Definition: dis.h:832
int discpy(int alloc, const struct disprm *dissrc, struct disprm *disdst)
Copy routine for the disprm struct.
int ** iparm
Definition: dis.h:870
const char * dis_errmsg[]
Status return messages.
int disperr(const struct disprm *dis, const char *prefix)
Print error messages from a disprm struct.
int ** axmap
Definition: dis.h:864
int disp2x(struct disprm *dis, const double rawcrd[], double discrd[])
Apply distortion function.
int tpdset(int j, struct disprm *dis)
(Internal use only.)
double ** scale
Definition: dis.h:869
int tpd8(DISP2X_ARGS)
(Internal use only.)
int tpd5(DISP2X_ARGS)
(Internal use only.)
int pol2tpd(int j, struct disprm *dis)
(Internal use only.)
Error message handling.
Definition: wcserr.h:225
int disx2p(struct disprm *dis, const double discrd[], double rawcrd[])
Apply de-distortion function.
int disset(struct disprm *dis)
Setup routine for the disprm struct.
int naxis
Definition: dis.h:853
struct dpkey * dp
Definition: dis.h:858
int m_flag
Definition: dis.h:888
int ndis
Definition: dis.h:875
Distortion parameters.
Definition: dis.h:846
char field[72]
Definition: dis.h:833
int dispoly(DISP2X_ARGS)
(Internal use only.)
int ndp
Definition: dis.h:856
int tpd1(DISP2X_ARGS)
(Internal use only.)
int tpd9(DISP2X_ARGS)
(Internal use only.)
char(* m_dtype)[72]
Definition: dis.h:889
int j
Definition: dis.h:834
int sipset(int j, struct disprm *dis)
(Internal use only.)
int tpd3(DISP2X_ARGS)
(Internal use only.)
int * Nhat
Definition: dis.h:865
int disfree(struct disprm *dis)
Destructor for the disprm struct.
dis_errmsg_enum
Definition: dis.h:813
int m_naxis
Definition: dis.h:888
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 disprt(const struct disprm *dis)
Print routine for the disprm struct.
double * tmpmem
Definition: dis.h:886
int tpd7(DISP2X_ARGS)
(Internal use only.)
int i_naxis
Definition: dis.h:874
double * maxdis
Definition: dis.h:859
double totdis
Definition: dis.h:860
int tpd2(DISP2X_ARGS)
(Internal use only.)
int(** disx2p)(DISX2P_ARGS)
Definition: dis.h:884
int tpd4(DISP2X_ARGS)
(Internal use only.)
int tpvset(int j, struct disprm *dis)
(Internal use only.)
struct wcserr * err
Definition: dis.h:879
char(* dtype)[72]
Definition: dis.h:855
int disini(int alloc, int naxis, struct disprm *dis)
Default constructor for the disprm struct.
double f
Definition: dis.h:838
struct dpkey * m_dp
Definition: dis.h:890
double * m_maxdis
Definition: dis.h:891
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.
double ** offset
Definition: dis.h:868
#define DISX2P_ARGS
Definition: dis.h:827
int(** disp2x)(DISP2X_ARGS)
Definition: dis.h:883
int polyset(int j, struct disprm *dis)
(Internal use only.)
int ndpmax
Definition: dis.h:857
int tpd6(DISP2X_ARGS)
(Internal use only.)
int disndp(int n)
Memory allocation for DPja and DQia.
int i
Definition: dis.h:837
#define DISP2X_ARGS
Definition: dis.h:823
double ** dparm
Definition: dis.h:872