========= interfile =========
Interfile[1] is a file format for the exchange of nuclear medicine image, including Positron Emission Tomography (PET) data. It can store sinograms, volumetric and planar images and calibration data. The 'interfile' Python library reads, parses and writes interfile files.
pip[pip3] install interfile
or download source files, uncompress, at the command line cd to the downloaded folder and run:
python setup.py build test install
[1] Todd-Pokropek A, Cradduck TD, Deconinck F. A file format for the exchange of nuclear medicine image data: a specification of Interfile version 3.3. Nucl Med Commun. 1992;13(9):673–99. doi: 10.1097/00006231-199209000-00007. https://www.ncbi.nlm.nih.gov/pubmed/1448241