Data Structures | |
struct | DANLIBCOM |
struct | HTYPES |
struct | SPEPNTR |
Defines | |
#define | INITDANLIBCOM |
#define | PNAME ccDANLIBCOM.pname |
#define | PTITLE ccDANLIBCOM.ptitle |
#define | PARNAM ccDANLIBCOM.parnam |
#define | HLPNAM ccDANLIBCOM.hlpnam |
#define | XSTATUS ccDANLIBCOM.xstatus |
#define | XHEADER ccDANLIBCOM.xheader |
#define | XSPEKTR ccDANLIBCOM.xspektr |
#define | XFILNAM ccDANLIBCOM.xfilnam |
#define | XFNCTN ccDANLIBCOM.xfnctn |
#define | STCKCHCK ccDANLIBCOM.stckchck |
#define | STATUS (pselspe->status) |
#define | IHDLEN (pselspe->ihdlen) |
#define | IPLANES (iplanes) |
#define | IROWS (pselspe->irows) |
#define | ICOLS (pselspe->icols) |
#define | IBYTES (pselspe->ibytes) |
#define | SPELEN (pselspe->spelen) |
#define | TOTLEN (pselspe->totlen) |
#define | BLOCKS (pselspe->blocks) |
#define | BLOCKT (pselspe->blockt) |
#define | FILNAM (pselspe->filnam) |
#define | SPEBUF (pselspe->spebuf) |
#define | SPEHDR (pselspe->spehdr) |
#define | SPEDATA (pselspe->spedata) |
#define | PSPHDR (pselspe->psphdr) |
#define | PHSPCD (pselspe->phspcd) |
#define | XSPHDR (pselspe->xsphdr) |
#define | XHSPCD (pselspe->xhspcd) |
#define | CHTYPE (pselspe->chtype) |
#define | USHPUNI (pselspe->ushpuni) |
#define | CHTVALID CHTYPE->valid |
#define | CHTHDRID CHTYPE->hdrid |
#define | CHTPRGID CHTYPE->prgid |
#define | CHTDSCR CHTYPE->hdscr |
#define | CHTDATA CHTYPE->hdattyp |
#define | COMMSTAT 0x2000 |
#define | SPECRDSK ((STATUS & 0x0001) != 0) |
#define | SPESVDSK ((STATUS & 0x0002) != 0) |
#define | SPECRMEM ((STATUS & 0x0004) != 0) |
#define | SPELDMEM ((STATUS & 0x0008) != 0) |
#define | ONLINE ((STATUS & 0x0010) != 0) |
#define | AUTSTOP ((STATUS & 0x0020) != 0) |
#define | TESTRUN ((STATUS & 0x0040) != 0) |
#define | FILNTFND ((STATUS & 0x0080) != 0) |
#define | EXFAIL ((STATUS & 0x0100) != 0) |
#define | WRGTYP ((STATUS & 0x0200) != 0) |
#define | ERRHDR ((STATUS & 0x0400) != 0) |
#define | ERRFIL ((STATUS & 0x0800) != 0) |
#define | HDRLDD ((STATUS & 0x1000) != 0) |
#define | PARLDD ((STATUS & 0x2000) != 0) |
#define | SPENAMOK ((STATUS & 0x4000) != 0) |
Functions | |
FCSTAT | Terres (void) |
void | Rdname (char *title) |
FCSTAT | Shohdr (void) |
FCSTAT | Inpar (int mode) |
void | Sethdr (int mode) |
FCSTAT | Netwrk (int mode) |
FCSTAT | Files (int mode) |
FCSTAT | Help (void) |
FCSTAT | Globify (char *fname, char *result, int lrslt) |
FCSTAT | sOpen (void) |
FCSTAT | sClose (void) |
void | SwiSpe (int spenum) |
int | SwiHdr (char *idhdr, char *idprg) |
void * | Illacc (char *cccc) |
void | sZero (void) |
DATAC | sChanl (unsigned long chan_numb) |
int | CvtHdr (HEADER *htotal, HEADER *htempo) |
int | PutUsh (int mode, char *datid, char *data, int datlen) |
int | GetUsh (char *datid, char *data, int datlen) |
int | RemUsh (char *datid) |
int | Curfit (int npts, double *x, double *y, double *weight, int nterms, double *a, double *covara, double flamda, double(*functn)(double x, double *a), int(*fderiv)(double x, double *a, double *deriv)) |
int | Matinv (double *matrix, int order, double *det) |
double | Chitst (double chisqr, int nfree) |
Variables | |
void * | xspebuf |
HTYPES | htypes [] |
SPEPNTR | spepntr [] |
int | iselspe |
SPEPNTR * | pselspe |
UINT4 | iplanes |
modification history -------------------- 25sep08 kHu Sethdr() from dac23.h 15aug08 kHu DOXYGEN comments added 20apr07 kHu DIM3SPEC, IPLANES, NPLANE 12sep02 kHu pselspe->... => (pselspe->...) 02jul02 kHu STCKCHCK neu 28may02 kHu sZero neu 28feb02 kHu more args on Start: PNAME,PTITLE,PARNAM,HLPNAM,stmode 12sep01 kHu dan60.c neu 09mar00 kHu Inpar(1/3): TOTLEN IHDLEN BLOCKT 09mar00 kHu SwiSpe(): transfer common status bits 02mar00 kHu IBYTES new 15feb00 kHu erweitert auf verschiedene Header Typen 11nov99 kHu Newprog Standard 02sep99 kHu Abschluss Pruefung 23aug99 kHu ueberarbeitet 28apr99 kHu Multiple spectra 13jan99 kHu Umstellung auf dan-Library
#define AUTSTOP ((STATUS & 0x0020) != 0) |
#define BLOCKS (pselspe->blocks) |
#define BLOCKT (pselspe->blockt) |
#define CHTDATA CHTYPE->hdattyp |
#define CHTDSCR CHTYPE->hdscr |
#define CHTHDRID CHTYPE->hdrid |
#define CHTPRGID CHTYPE->prgid |
#define CHTVALID CHTYPE->valid |
#define CHTYPE (pselspe->chtype) |
#define COMMSTAT 0x2000 |
#define ERRFIL ((STATUS & 0x0800) != 0) |
#define ERRHDR ((STATUS & 0x0400) != 0) |
#define EXFAIL ((STATUS & 0x0100) != 0) |
#define FILNAM (pselspe->filnam) |
#define FILNTFND ((STATUS & 0x0080) != 0) |
#define HDRLDD ((STATUS & 0x1000) != 0) |
#define HLPNAM ccDANLIBCOM.hlpnam |
#define IBYTES (pselspe->ibytes) |
#define ICOLS (pselspe->icols) |
#define IHDLEN (pselspe->ihdlen) |
#define INITDANLIBCOM |
Value:
"", /* Name of program */ \ "", /* Title of program */ \ "", /* Name of parameter file */ \ "", /* Name of help file */ \ 0, /* Status of calling program */ \ NULL, /* Pointer to external header of spectrum */ \ NULL, /* Pointer to external spectrum */ \ NULL, /* Pointer to file name of external spectrum */ \ NULL, /* Pointer to external function */ \ FALSE
#define IPLANES (iplanes) |
#define IROWS (pselspe->irows) |
#define ONLINE ((STATUS & 0x0010) != 0) |
#define PARLDD ((STATUS & 0x2000) != 0) |
#define PARNAM ccDANLIBCOM.parnam |
#define PHSPCD (pselspe->phspcd) |
#define PNAME ccDANLIBCOM.pname |
#define PSPHDR (pselspe->psphdr) |
#define PTITLE ccDANLIBCOM.ptitle |
#define SPEBUF (pselspe->spebuf) |
#define SPECRDSK ((STATUS & 0x0001) != 0) |
#define SPECRMEM ((STATUS & 0x0004) != 0) |
#define SPEDATA (pselspe->spedata) |
#define SPEHDR (pselspe->spehdr) |
#define SPELDMEM ((STATUS & 0x0008) != 0) |
#define SPELEN (pselspe->spelen) |
#define SPENAMOK ((STATUS & 0x4000) != 0) |
#define SPESVDSK ((STATUS & 0x0002) != 0) |
#define STCKCHCK ccDANLIBCOM.stckchck |
#define TESTRUN ((STATUS & 0x0040) != 0) |
#define TOTLEN (pselspe->totlen) |
#define USHPUNI (pselspe->ushpuni) |
#define WRGTYP ((STATUS & 0x0200) != 0) |
#define XFILNAM ccDANLIBCOM.xfilnam |
#define XFNCTN ccDANLIBCOM.xfnctn |
#define XHEADER ccDANLIBCOM.xheader |
#define XHSPCD (pselspe->xhspcd) |
#define XSPEKTR ccDANLIBCOM.xspektr |
#define XSPHDR (pselspe->xsphdr) |
#define XSTATUS ccDANLIBCOM.xstatus |
double Chitst | ( | double | chisqr, | |
int | nfree | |||
) |
int Curfit | ( | int | npts, | |
double * | x, | |||
double * | y, | |||
double * | weight, | |||
int | nterms, | |||
double * | a, | |||
double * | covara, | |||
double | flamda, | |||
double(*)(double x, double *a) | functn, | |||
int(*)(double x, double *a, double *deriv) | fderiv | |||
) |
int CvtHdr | ( | HEADER * | htotal, | |
HEADER * | htempo | |||
) |
FCSTAT Files | ( | int | mode | ) |
int GetUsh | ( | char * | datid, | |
char * | data, | |||
int | datlen | |||
) |
FCSTAT Globify | ( | char * | fname, | |
char * | result, | |||
int | lrslt | |||
) |
FCSTAT Help | ( | void | ) |
void* Illacc | ( | char * | cccc | ) |
FCSTAT Inpar | ( | int | mode | ) |
int Matinv | ( | double * | matrix, | |
int | order, | |||
double * | det | |||
) |
FCSTAT Netwrk | ( | int | mode | ) |
int PutUsh | ( | int | mode, | |
char * | datid, | |||
char * | data, | |||
int | datlen | |||
) |
void Rdname | ( | char * | title | ) |
int RemUsh | ( | char * | datid | ) |
DATAC sChanl | ( | unsigned long | chan_numb | ) |
FCSTAT sClose | ( | void | ) |
void Sethdr | ( | int | mode | ) |
FCSTAT Shohdr | ( | void | ) |
FCSTAT sOpen | ( | void | ) |
int SwiHdr | ( | char * | idhdr, | |
char * | idprg | |||
) |
void SwiSpe | ( | int | spenum | ) |
void sZero | ( | void | ) |
FCSTAT Terres | ( | void | ) |
UINT4 iplanes |
int iselspe |
void* xspebuf |