TwiceAsNice  2019-02-18
Macros | Functions | Variables
wcs.c File Reference
#include <math.h>
#include "stdio.h"
#include "string.h"
#include "wcsmath.h"
#include "wcstrig.h"
#include "sph.h"
#include "wcs.h"
Include dependency graph for wcs.c:

Macros

#define wcs_signbit(X)   ((X) < 0.0 ? 1 : 0)
 

Functions

int wcsset (int naxis, ctype, struct wcsprm *wcs) const
 
int wcsfwd (ctype, struct wcsprm *wcs, world, crval, struct celprm *cel, double *phi, double *theta, struct prjprm *prj, imgcrd, struct linprm *lin, pixcrd) const
 
int wcsrev (ctype, struct wcsprm *wcs, pixcrd, struct linprm *lin, imgcrd, struct prjprm *prj, double *phi, double *theta, crval, struct celprm *cel, world) const
 
int wcsmix (ctype, struct wcsprm *wcs, const int mixpix, const int mixcel, vspan, vstep, int viter, world, crval, struct celprm *cel, double *phi, double *theta, struct prjprm *prj, imgcrd, struct linprm *lin, pixcrd) const
 

Variables

const char * wcsset_errmsg []
 
const char * wcsfwd_errmsg []
 
const char * wcsrev_errmsg []
 
const char * wcsmix_errmsg []
 

Macro Definition Documentation

◆ wcs_signbit

#define wcs_signbit (   X)    ((X) < 0.0 ? 1 : 0)

Function Documentation

◆ wcsfwd()

int wcsfwd ( ctype  ,
struct wcsprm wcs,
world  ,
crval  ,
struct celprm cel,
double *  phi,
double *  theta,
struct prjprm prj,
imgcrd  ,
struct linprm lin,
pixcrd   
) const

◆ wcsmix()

int wcsmix ( ctype  ,
struct wcsprm wcs,
const int  mixpix,
const int  mixcel,
vspan  ,
  vstep,
int  viter,
world  ,
crval  ,
struct celprm cel,
double *  phi,
double *  theta,
struct prjprm prj,
imgcrd  ,
struct linprm lin,
pixcrd   
) const

◆ wcsrev()

int wcsrev ( ctype  ,
struct wcsprm wcs,
pixcrd  ,
struct linprm lin,
imgcrd  ,
struct prjprm prj,
double *  phi,
double *  theta,
crval  ,
struct celprm cel,
world   
) const

◆ wcsset()

int wcsset ( int  naxis,
ctype  ,
struct wcsprm wcs 
) const

Variable Documentation

◆ wcsfwd_errmsg

const char* wcsfwd_errmsg[]
Initial value:
= {
0,
"Invalid coordinate transformation parameters",
"Invalid projection parameters",
"Invalid world coordinate",
"Invalid linear transformation parameters"}

◆ wcsmix_errmsg

const char* wcsmix_errmsg[]
Initial value:
= {
0,
"Invalid coordinate transformation parameters",
"Invalid projection parameters",
"Coordinate transformation error",
"Invalid linear transformation parameters",
"No solution found in the specified interval"}

◆ wcsrev_errmsg

const char* wcsrev_errmsg[]
Initial value:
= {
0,
"Invalid coordinate transformation parameters",
"Invalid projection parameters",
"Invalid pixel coordinate",
"Invalid linear transformation parameters"}

◆ wcsset_errmsg

const char* wcsset_errmsg[]
Initial value:
= {
0,
"Inconsistent or unrecognized coordinate axis types"}