TwiceAsNice  2019-02-18
Classes | Macros | Typedefs | Functions
tnx.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  tnxaxis
 

Macros

#define TNX_MAXCHARS   2048 /* Maximum FITS "WAT" string length */
 
#define TNX_CHEBYSHEV   1
 
#define TNX_LEGENDRE   2
 
#define TNX_POLYNOMIAL   3
 
#define TNX_XNONE   0 /* no x-terms (old no) */
 
#define TNX_XFULL   1 /* full x-terms (new yes) */
 
#define TNX_XHALF   2 /* half x-terms (new) */
 

Typedefs

typedef struct tnxaxis tnxaxisstruct
 

Functions

tnxaxisstructcopy_tnxaxis (tnxaxisstruct *axis)
 
tnxaxisstructread_tnxaxis (char *tnxstr)
 
double raw_to_tnxaxis (tnxaxisstruct *axis, double x, double y)
 
void free_tnxaxis (tnxaxisstruct *axis)
 

Macro Definition Documentation

◆ TNX_CHEBYSHEV

#define TNX_CHEBYSHEV   1

◆ TNX_LEGENDRE

#define TNX_LEGENDRE   2

◆ TNX_MAXCHARS

#define TNX_MAXCHARS   2048 /* Maximum FITS "WAT" string length */

◆ TNX_POLYNOMIAL

#define TNX_POLYNOMIAL   3

◆ TNX_XFULL

#define TNX_XFULL   1 /* full x-terms (new yes) */

◆ TNX_XHALF

#define TNX_XHALF   2 /* half x-terms (new) */

◆ TNX_XNONE

#define TNX_XNONE   0 /* no x-terms (old no) */

Typedef Documentation

◆ tnxaxisstruct

typedef struct tnxaxis tnxaxisstruct

Function Documentation

◆ copy_tnxaxis()

tnxaxisstruct* copy_tnxaxis ( tnxaxisstruct axis)

◆ free_tnxaxis()

void free_tnxaxis ( tnxaxisstruct axis)

◆ raw_to_tnxaxis()

double raw_to_tnxaxis ( tnxaxisstruct axis,
double  x,
double  y 
)

◆ read_tnxaxis()

tnxaxisstruct * read_tnxaxis ( char *  tnxstr)