TwiceAsNice
2019-02-18
|
Classes | |
struct | wcs |
Macros | |
#define | NAXIS 2 /* Max number of FITS axes */ |
#define | DEG (PI/180.0) /* 1 deg in radians */ |
#define | ARCMIN (DEG/60.0) /* 1 arcsec in radians */ |
#define | ARCSEC (DEG/3600.0) /* 1 arcsec in radians */ |
#define | MAS (ARCSEC/1000.0) /* 1 mas in radians */ |
#define | YEAR (365.25*DAY) /* 1 year in seconds */ |
#define | DAY (24.0*HOUR) /* 1 day in seconds */ |
#define | HOUR (60.0*MINUTE) /* 1 hour in seconds */ |
#define | MINUTE 60.0 /* 1 minute in seconds */ |
#define | MJD2000 51544.50000 /* Modified Julian date for J2000.0 */ |
#define | JD2000 (2400000.5+MJD2000) /* Julian date for J2000.0 */ |
#define | MJD1950 33281.92346 /* Modified Julian date for B1950.0 */ |
#define | JD1950 (2400000.5+MJD1950) /* Julian date for B1950.0 */ |
#define | JU2TROP 1.0000214 /* 1 Julian century in tropical units*/ |
#define | WCS_NOCOORD 1e31 /* Code for non-existing coordinates */ |
#define | WCS_NGRIDPOINTS 12 /* Number of WCS grid points / axis */ |
#define | WCS_NGRIDPOINTS2 (WCS_NGRIDPOINTS*WCS_NGRIDPOINTS) |
#define | WCS_INVMAXDEG 9 /* Maximum inversion polynom degree */ |
#define | WCS_INVACCURACY 0.001 /* Maximum inversion error (pixels) */ |
#define | WCS_NRANGEPOINTS 32 /* Number of WCS range points / axis */ |
Typedefs | |
typedef struct wcs | wcsstruct |
Functions | |
wcsstruct * | create_wcs (char **ctype, double *crval, double *crpix, double *cdelt, int *naxisn, int naxis) |
wcsstruct * | copy_wcs (wcsstruct *wcsin) |
wcsstruct * | read_wcs (tabstruct *tab) |
double | fmod_0_p360 (double angle) |
double | fmod_m90_p90 (double angle) |
double | sextodegal (char *hms) |
double | sextodegde (char *dms) |
double | wcs_dist (wcsstruct *wcs, double *wcspos1, double *wcspos2) |
double | wcs_jacobian (wcsstruct *wcs, double *pixpos, double *jacob) |
double | wcs_rawtoraw (wcsstruct *wcsin, wcsstruct *wcsout, double *pixposin, double *pixposout, double *jacob) |
double | wcs_scale (wcsstruct *wcs, double *pixpos) |
int | celsys_to_eq (wcsstruct *wcs, double *wcspos) |
int | eq_to_celsys (wcsstruct *wcs, double *wcspos) |
int | fcmp_0_p360 (double anglep, double anglem) |
int | frame_wcs (wcsstruct *wcsin, wcsstruct *wcsout) |
int | raw_to_red (wcsstruct *wcs, double *pixpos, double *redpos) |
int | raw_to_wcs (wcsstruct *wcs, double *pixpos, double *wcspos) |
int | reaxe_wcs (wcsstruct *wcs, int lng, int lat) |
int | red_to_raw (wcsstruct *wcs, double *redpos, double *pixpos) |
int | wcs_chirality (wcsstruct *wcs) |
int | wcs_supproj (char *name) |
int | wcs_to_raw (wcsstruct *wcs, double *wcspos, double *pixpos) |
char * | degtosexal (double alpha, char *str) |
char * | degtosexde (double delta, char *str) |
void | b2j (double yearobs, double alphain, double deltain, double *alphaout, double *deltaout) |
void | end_wcs (wcsstruct *wcs) |
void | init_wcs (wcsstruct *wcs) |
void | init_wcscelsys (wcsstruct *wcs) |
void | invert_wcs (wcsstruct *wcs) |
void | j2b (double yearobs, double alphain, double deltain, double *alphaout, double *deltaout) |
void | precess (double yearin, double alphain, double deltain, double yearout, double *alphaout, double *deltaout) |
void | precess_wcs (wcsstruct *wcs, double yearin, double yearout) |
void | range_wcs (wcsstruct *wcs) |
void | wipe_wcs (tabstruct *tab) |
void | write_wcs (tabstruct *tab, wcsstruct *wcs) |
#define ARCMIN (DEG/60.0) /* 1 arcsec in radians */ |
#define ARCSEC (DEG/3600.0) /* 1 arcsec in radians */ |
#define DAY (24.0*HOUR) /* 1 day in seconds */ |
#define DEG (PI/180.0) /* 1 deg in radians */ |
#define HOUR (60.0*MINUTE) /* 1 hour in seconds */ |
#define JD1950 (2400000.5+MJD1950) /* Julian date for B1950.0 */ |
#define JD2000 (2400000.5+MJD2000) /* Julian date for J2000.0 */ |
#define JU2TROP 1.0000214 /* 1 Julian century in tropical units*/ |
#define MAS (ARCSEC/1000.0) /* 1 mas in radians */ |
#define MINUTE 60.0 /* 1 minute in seconds */ |
#define MJD1950 33281.92346 /* Modified Julian date for B1950.0 */ |
#define MJD2000 51544.50000 /* Modified Julian date for J2000.0 */ |
#define NAXIS 2 /* Max number of FITS axes */ |
#define WCS_INVMAXDEG 9 /* Maximum inversion polynom degree */ |
#define WCS_NGRIDPOINTS 12 /* Number of WCS grid points / axis */ |
#define WCS_NGRIDPOINTS2 (WCS_NGRIDPOINTS*WCS_NGRIDPOINTS) |
#define WCS_NOCOORD 1e31 /* Code for non-existing coordinates */ |
#define WCS_NRANGEPOINTS 32 /* Number of WCS range points / axis */ |
#define YEAR (365.25*DAY) /* 1 year in seconds */ |
enum celsysenum |
void b2j | ( | double | yearobs, |
double | alphain, | ||
double | deltain, | ||
double * | alphaout, | ||
double * | deltaout | ||
) |
int celsys_to_eq | ( | wcsstruct * | wcs, |
double * | wcspos | ||
) |
wcsstruct* create_wcs | ( | char ** | ctype, |
double * | crval, | ||
double * | crpix, | ||
double * | cdelt, | ||
int * | naxisn, | ||
int | naxis | ||
) |
char* degtosexal | ( | double | alpha, |
char * | str | ||
) |
char * degtosexde | ( | double | delta, |
char * | str | ||
) |
void end_wcs | ( | wcsstruct * | wcs | ) |
int eq_to_celsys | ( | wcsstruct * | wcs, |
double * | wcspos | ||
) |
int fcmp_0_p360 | ( | double | anglep, |
double | anglem | ||
) |
double fmod_0_p360 | ( | double | angle | ) |
double fmod_m90_p90 | ( | double | angle | ) |
void init_wcs | ( | wcsstruct * | wcs | ) |
void init_wcscelsys | ( | wcsstruct * | wcs | ) |
void invert_wcs | ( | wcsstruct * | wcs | ) |
void j2b | ( | double | yearobs, |
double | alphain, | ||
double | deltain, | ||
double * | alphaout, | ||
double * | deltaout | ||
) |
void precess | ( | double | yearin, |
double | alphain, | ||
double | deltain, | ||
double | yearout, | ||
double * | alphaout, | ||
double * | deltaout | ||
) |
void precess_wcs | ( | wcsstruct * | wcs, |
double | yearin, | ||
double | yearout | ||
) |
void range_wcs | ( | wcsstruct * | wcs | ) |
int raw_to_red | ( | wcsstruct * | wcs, |
double * | pixpos, | ||
double * | redpos | ||
) |
int raw_to_wcs | ( | wcsstruct * | wcs, |
double * | pixpos, | ||
double * | wcspos | ||
) |
int reaxe_wcs | ( | wcsstruct * | wcs, |
int | lng, | ||
int | lat | ||
) |
int red_to_raw | ( | wcsstruct * | wcs, |
double * | redpos, | ||
double * | pixpos | ||
) |
double sextodegal | ( | char * | hms | ) |
double sextodegde | ( | char * | dms | ) |
int wcs_chirality | ( | wcsstruct * | wcs | ) |
double wcs_dist | ( | wcsstruct * | wcs, |
double * | wcspos1, | ||
double * | wcspos2 | ||
) |
double wcs_jacobian | ( | wcsstruct * | wcs, |
double * | pixpos, | ||
double * | jacob | ||
) |
double wcs_rawtoraw | ( | wcsstruct * | wcsin, |
wcsstruct * | wcsout, | ||
double * | pixposin, | ||
double * | pixposout, | ||
double * | jacob | ||
) |
double wcs_scale | ( | wcsstruct * | wcs, |
double * | pixpos | ||
) |
int wcs_supproj | ( | char * | name | ) |
int wcs_to_raw | ( | wcsstruct * | wcs, |
double * | wcspos, | ||
double * | pixpos | ||
) |
void wipe_wcs | ( | tabstruct * | tab | ) |