Go to the documentation of this file.
337 #ifndef WCSLIB_WCSUNITS
338 #define WCSLIB_WCSUNITS
370 #define WCSUNITS_PLANE_ANGLE 0
371 #define WCSUNITS_SOLID_ANGLE 1
372 #define WCSUNITS_CHARGE 2
373 #define WCSUNITS_MOLE 3
374 #define WCSUNITS_TEMPERATURE 4
375 #define WCSUNITS_LUMINTEN 5
376 #define WCSUNITS_MASS 6
377 #define WCSUNITS_LENGTH 7
378 #define WCSUNITS_TIME 8
379 #define WCSUNITS_BEAM 9
380 #define WCSUNITS_BIN 10
381 #define WCSUNITS_BIT 11
382 #define WCSUNITS_COUNT 12
383 #define WCSUNITS_MAGNITUDE 13
384 #define WCSUNITS_PIXEL 14
385 #define WCSUNITS_SOLRATIO 15
386 #define WCSUNITS_VOXEL 16
388 #define WCSUNITS_NTYPE 17
391 int wcsunitse(
const char have[],
const char want[],
double *scale,
392 double *offset,
double *power,
struct wcserr **err);
396 int wcsulexe(
const char unitstr[],
int *func,
double *scale,
400 int wcsunits(
const char have[],
const char want[],
double *scale,
401 double *offset,
double *power);
402 int wcsutrn(
int ctrl,
char unitstr[]);
403 int wcsulex(
const char unitstr[],
int *func,
double *scale,