|
TPCCLIB
|
I/O functions for automatic blood sampling system (ABSS) files. More...
#include "tpcclibConfig.h"#include "tpcift.h"#include "tpcisotope.h"#include "tpccsv.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpctac.h"Go to the source code of this file.
Functions | |
| int | tacReadAllogg (TAC *tac, IFT *hdr, TPCSTATUS *status) |
| int | tacReadOldAllogg (TAC *tac, IFT *hdr, TPCSTATUS *status) |
| int | tacReadScanditronics (TAC *tac, IFT *hdr, TPCSTATUS *status) |
| int | tacReadGEMS (TAC *tac, IFT *hdr, TPCSTATUS *status) |
I/O functions for automatic blood sampling system (ABSS) files.
Definition in file tacabss.c.
Read Allogg #2 ABSS data from IFT struct into TAC struct.
| tac | Pointer to TAC struct, contents of which are to be written. |
| hdr | Pointer to IFT to read data from. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 26 of file tacabss.c.
Referenced by tacRead().
Read GEMS ABSS data from IFT struct into TAC struct.
Two date-time strings will be written in header, scan_start_time containing the time of the first sample, and sampler_start_time containing the time given in ABSS file header.
GEMS ABSS format is almost identical to Scanditronics, but the headers and times are processed differently, hence separate functions. If function finds that provided data is actually from Scanditronics, it calls tacReadScanditronics.
| tac | Pointer to TAC struct, contents of which are to be written. |
| hdr | Pointer to IFT to read data from. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 516 of file tacabss.c.
Referenced by tacRead(), and tacReadScanditronics().
Read Allogg #1 ABSS data from IFT struct into TAC struct.
| tac | Pointer to TAC struct, contents of which are to be written. |
| hdr | Pointer to IFT to read data from. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 173 of file tacabss.c.
Referenced by tacRead().
Read Scanditronics ABSS data from IFT struct into TAC struct.
Two date-time strings will be written in header, scan_start_time containing the time of the first sample, and sampler_start_time containing the time given in ABSS file header.
Scanditronics ABSS format is almost identical to GEMS, but the headers and times are processed differently, hence separate functions. If function finds that provided data is actually from GEMS, it calls tacReadGEMS.
| tac | Pointer to TAC struct, contents of which are to be written. |
| hdr | Pointer to IFT to read data from. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 326 of file tacabss.c.
Referenced by tacRead(), and tacReadGEMS().