#include <stdio.h>#include <stdlib.h>#include <math.h>#include <ctype.h>#include <string.h>#include <unistd.h>#include <time.h>#include "include/swap.h"#include "include/ecat63.h"Functions | |
| void | ecat63InitMatlist (MATRIXLIST *mlist) |
| void | ecat63EmptyMatlist (MATRIXLIST *mlist) |
| int | ecat63ReadMatlist (FILE *fp, MATRIXLIST *ml) |
| void | ecat63PrintMatlist (MATRIXLIST *ml) |
| int | ecat63Matenter (FILE *fp, int matnum, int blkNr) |
| int | mat_numcod (int frame, int plane, int gate, int data, int bed) |
| void | mat_numdoc (int matnum, Matval *matval) |
| void | ecat63SortMatlistByPlane (MATRIXLIST *ml) |
| void | ecat63SortMatlistByFrame (MATRIXLIST *ml) |
| int | ecat63CheckMatlist (MATRIXLIST *ml) |
| int | ecat63DeleteLateFrames (MATRIXLIST *ml, int frame_nr) |
|
|
Checks that all matrixlist entries have read/write status.
|
|
||||||||||||
|
Mark deleted the frames after the specified frame number. This can be used to delete sum images from the end of dynamic ECAT images.
|
|
|
Free memory allocated for ECAT matrix list |
|
|
Initiate ECAT matrix list. Call this once before first use. |
|
||||||||||||||||
|
Prepare matrix list for additional matrix data and return block number for matrix header, or <0 in case of an error. Directory records are written in big endian byte order. Set block_nr to the number of data blocks excluding header; |
|
|
Print ECAT matrix list on stdout. |
|
||||||||||||
|
Read ECAT matrix list. Matrix list must be initiated (once) before calling this.
|
|
|
Sort matrixlist by frame and plane |
|
|
Sort matrixlist by plane and frame |
|
||||||||||||||||||||||||
|
Returns the matrix identifier |
|
||||||||||||
|
Conversion of matrix identifier to numerical values |
1.4.1