# Data formats Note that all binary formats encode numerical values in little endian. ## Scanner (`Scanner`) Scanners are defined in two parts: - A scanner parameters file in JSON format - A Look-Up-Table (LUT) file in binary format. See [Documentation on the scanner definition](scanner) for more details ## Image format (`Image`) Images are read and stored in NIfTI format. YRT-PET also uses a JSON file to define the Image parameters (size, voxel size, offset, time dimension). See [Documentation on the Image parameters format](image). ## YRT-PET raw data format (`Array`) YRT-PET stores its array structures in the RAWD format. See [Documentation on the RAWD file structure](rawd_file) ## Listmode (``ListmodeLUT``) YRT-PET defines a generic default List-Mode format. When used as input, the format name is `LM`. See [Documentation on the List-Mode file](list-mode_file) ## Sparse histogram (``SparseHistogram``) YRT-PET defines a generic default sparse histogram format. When used as input, the format name is `SH`. See [Documentation on the sparse histogram file](sparse-histogram) ## Motion information (`LORMotion`) Motion information is encoded in a binary file describing the transformation of each frame. See [Documentation on the Motion information file](motion_file) ## Histogram (`Histogram3D`) Fully 3D Histograms are stored in YRT-PET's RAWD format [described earlier](rawd_file). Values are encoded in `float32`. The histogram's dimensions are defined by the scanner properties, which are defined in the `json` file [described earlier](scanner). See [Documentation on the histogram format](histogram3d_format) for more information. When used as input, the format name is `H`.