Go to the documentation of this file.
  668 #define LINLEN (sizeof(struct linprm)/sizeof(int)) 
  689 int linp2x(
struct linprm *lin, 
int ncoord, 
int nelem, 
const double pixcrd[],
 
  692 int linx2p(
struct linprm *lin, 
int ncoord, 
int nelem, 
const double imgcrd[],
 
  695 int linwarp(
struct linprm *lin, 
const double pixblc[], 
const double pixtrc[],
 
  696             const double pixsamp[], 
int *nsamp,
 
  697             double maxdis[], 
double *maxtot,
 
  698             double avgdis[], 
double *avgtot,
 
  699             double rmsdis[], 
double *rmstot);
 
  701 int matinv(
int n, 
const double mat[], 
double inv[]);
 
  705 #define linini_errmsg lin_errmsg 
  706 #define lincpy_errmsg lin_errmsg 
  707 #define linfree_errmsg lin_errmsg 
  708 #define linprt_errmsg lin_errmsg 
  709 #define linset_errmsg lin_errmsg 
  710 #define linp2x_errmsg lin_errmsg 
  711 #define linx2p_errmsg lin_errmsg 
  
struct wcserr * err
Definition: lin.h:656
int linset(struct linprm *lin)
Setup routine for the linprm struct.
int lindist(int sequence, struct linprm *lin, struct disprm *dis, int ndpmax)
Assign a distortion to a linprm struct.
double * crpix
Definition: lin.h:639
double * m_crpix
Definition: lin.h:663
double * pc
Definition: lin.h:640
int linprt(const struct linprm *lin)
Print routine for the linprm struct.
double * m_pc
Definition: lin.h:663
double * imgpix
Definition: lin.h:648
const char * lin_errmsg[]
Status return messages.
int naxis
Definition: dis.h:1041
double * cdelt
Definition: lin.h:641
int lindis(int sequence, struct linprm *lin, struct disprm *dis)
Assign a distortion to a linprm struct.
int linfree(struct linprm *lin)
Destructor for the linprm struct.
struct disprm * dispre
Definition: lin.h:642
struct disprm * m_disseq
Definition: lin.h:664
double * maxdis
Definition: dis.h:1047
int simple
Definition: lin.h:652
int naxis
Definition: lin.h:638
lin_errmsg_enum
Definition: lin.h:621
int m_naxis
Definition: lin.h:662
int flag
Definition: lin.h:634
int linx2p(struct linprm *lin, int ncoord, int nelem, const double imgcrd[], double pixcrd[])
World-to-pixel linear transformation.
double * piximg
Definition: lin.h:647
int i_naxis
Definition: lin.h:649
int linperr(const struct linprm *lin, const char *prefix)
Print error messages from a linprm struct.
int linp2x(struct linprm *lin, int ncoord, int nelem, const double pixcrd[], double imgcrd[])
Pixel-to-world linear transformation.
Distortion parameters.
Definition: dis.h:1034
int lininit(int alloc, int naxis, struct linprm *lin, int ndpmax)
Default constructor for the linprm struct.
struct disprm * disseq
Definition: lin.h:643
int unity
Definition: lin.h:650
int m_flag
Definition: lin.h:662
int affine
Definition: lin.h:651
double * m_cdelt
Definition: lin.h:663
Linear transformation parameters.
Definition: lin.h:631
int matinv(int n, const double mat[], double inv[])
Matrix inversion.
double * tmpcrd
Definition: lin.h:660
Error message handling.
Definition: wcserr.h:223
int lincpy(int alloc, const struct linprm *linsrc, struct linprm *lindst)
Copy routine for the linprm struct.
struct disprm * m_dispre
Definition: lin.h:664
int ndpmax
Definition: dis.h:1045
int linini(int alloc, int naxis, struct linprm *lin)
Default constructor for the linprm struct.
int linwarp(struct linprm *lin, 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.