|
TPCCLIB
|
Set plane, frame, gate and/or bed numbers in ECAT files to continuous sequence. More...
Go to the source code of this file.
Functions | |
| int | ecat63CopyFile (ECAT63_mainheader *mh, MATRIXLIST *ml, FILE *fp, char *resfile) |
| int | ecat7CopyFile (ECAT7_mainheader *mh, ECAT7_MATRIXLIST *ml, FILE *fp, char *resfile) |
| int | ecatFixMatrixlist (char *ecatfile, int do_planes, int do_frames, int do_gates, int do_beds, int verbose) |
Set plane, frame, gate and/or bed numbers in ECAT files to continuous sequence.
Definition in file efixplnr.c.
| int ecat63CopyFile | ( | ECAT63_mainheader * | mh, |
| MATRIXLIST * | ml, | ||
| FILE * | fp, | ||
| char * | resfile ) |
Create a new ECAT 6.3 file with name outfile, containing data from existing file (file pointer given), with given mainheader and matrixlist.
| mh | Pointer to mainheader which is appropriate for both input and output data |
| ml | Pointer to matrixlist which is appropriate for both input and output data |
| fp | File pointer to input file opened in binary mode |
| resfile | Filename for output file |
Definition at line 69 of file efixplnr.c.
Referenced by ecatFixMatrixlist().
| int ecat7CopyFile | ( | ECAT7_mainheader * | mh, |
| ECAT7_MATRIXLIST * | ml, | ||
| FILE * | fp, | ||
| char * | resfile ) |
Create a new ECAT 7 file with name outfile, containing data from existing file (file pointer given), with given mainheader and matrixlist.
| mh | Pointer to mainheader which is appropriate for both input and output data |
| ml | Pointer to matrixlist which is appropriate for both input and output data |
| fp | File pointer to input file opened in binary mode |
| resfile | Filename for output file |
Definition at line 121 of file efixplnr.c.
Referenced by ecatFixMatrixlist().
| int ecatFixMatrixlist | ( | char * | ecatfile, |
| int | do_planes, | ||
| int | do_frames, | ||
| int | do_gates, | ||
| int | do_beds, | ||
| int | verbose ) |
Set plane, frame, gate and/or bed numbers in ECAT files to continuous sequence.
| ecatfile | Pointer to ECAT filename |
| do_planes | Do or do not fix plane numbers (1/0) |
| do_frames | Do or do not fix frame numbers (1/0) |
| do_gates | Do or do not fix gate numbers (1/0) |
| do_beds | Do or do not fix bed numbers (1/0) |
| verbose | Verbose level; set to <=0 to print nothing in stdout |
Definition at line 172 of file efixplnr.c.