Skip to main content
MIOX Logo

MIOX

Open any MR file from any vendor into one object: data, geometry, all metadata

Python License


MIOX reads MR spectroscopy, images, raw k-space, sequences, protocols, physiological recordings and NMR data into one well-defined object each. It keeps the complete vendor header and records where every standard key came from.

import miox
[d] = miox.load("meas.dat")      # one object per dataset in the file
d.data, d.dims, d.dwelltime      # complex FIDs in NIfTI-MRS order
d.meta["EchoTime"], d.meta.source["EchoTime"], d.meta.vendor
miox.view(d)                     # quick look in a window

Installation

pip install pymiox

or, for development,

git clone https://github.com/julianmer/MIOX.git
cd MIOX
uv sync --extra dev

What it loads

Formats
Spectroscopy Siemens twix, RDA and DICOM; Philips SPAR/SDAT, data/list and DICOM; UIH DICOM; GE P-file; Bruker; Varian; NIfTI-MRS; dcm2niix NIfTI with an MRS sidecar; LCModel .RAW; jMRUI text and binary; TARQUIN .dpt; VASF; Vespa VIFF; SIVIC DDF; FID-A .mat; spant .rds; text FIDs
Images DICOM (classic, mosaic, enhanced, study folders); NIfTI with BIDS sidecar; NIfTI-Zarr; JNIfTI; Analyze; MGH; MINC 1 and 2; PAR/REC; AFNI; NRRD; MetaImage; GIPL; Vista; Stimulate; VTK; MRtrix; SIVIC IDF; DSI Studio src and fib; BrainVoyager VMR, V16, VTC, FMR, VMP, GLM and VOI; Bruker 2dseq; Varian fdf; GE Signa; ISMRMRD image series
Raw k-space ISMRMRD; MRD v2; Siemens twix; GE P-file and ScanArchive; Philips raw/lab/sin; Bruker fid and rawdata; Varian fid; fastMRI; BART .cfl; Gadgetron array dumps; MaRGE .mat (low-field MaRCoS consoles)
Basis sets and priors LCModel .BASIS; FSL-MRS; SpinWizard; Osprey/MRSCloud; INSPECTOR; MARSS; ProFit; MRS-Sim; spant; metabolite folders; Vespa, GAVA, MIDAS and PyAMARES priors
Fit results LCModel COORD, TABLE, CSV and PostScript tables; TARQUIN results and fit; PyAMARES; Osprey MRSCont; FSL-MRS dynamic; spant; DMIWizard maps
Sequences and protocols Pulseq .seq; TOPPE; FSL-MRS simulator sequences; Siemens .pta and Bruker RF pulse shapes; Siemens .pro, .exar and printed protocols, raw-data DICOMs and Phoenix reports; Philips ExamCards and raw-data DICOMs; LCModel control files; MaRGE parameter tables; Yarra modes and modules; SPM.mat, FSL and BrainVoyager designs and stimulation protocols
Physio Siemens PMU; CMRR; Philips SCANPHYSLOG; GE; BIDS; HCP; BIOPAC AcqKnowledge
Simulation KomaMRI, JEMRIS and MRiLab phantoms; JEMRIS signals and motion; SIMPSON
NMR Bruker TopSpin; Varian/Agilent; JCAMP-DX; nmrML; JEOL Delta; Tecmag TNMR; NMRPipe; Sparky; CSDM; Magritek Spinsolve; RS2D; RNMRTK
Relaxometry Bruker minispec CPMG decays (.dps) with their fit reports (.mdt) and CONTIN T2 distributions
Tractograms TrackVis .trk; MRtrix .tck and .tsf; TRX; VTK polydata; DSI Studio .tt
Transforms FreeSurfer LTA; ITK/ANTs .tfm and .h5; AFNI affine matrices; FSL FLIRT; BrainVoyager TRF
Surfaces FreeSurfer surfaces, per-vertex values, annotations and labels; GIFTI; BrainVoyager SRF, SMP, MTC, SSM and POI; MZ3

Acknowledgements

The spectroscopy readers for Siemens, Philips, GE, UIH, Bruker, Varian and jMRUI data were written with spec2nii by Will Clarke as their reference and are tested against it. Parts of the GE, Siemens twix and Bruker readers are adapted from it, and with it from VESPA and pfile-tools; their licences are in THIRD_PARTY_LICENSES.

Metadata

Release files for pymiox 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymiox 0.1.5
File Size Uploaded Provenance Actions
pymiox-0.1.5.tar.gz 496.0 kB Without provenance Details for pymiox-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymiox 0.1.5
File Interpreter ABI Platform Actions
pymiox-0.1.5-py3-none-any.whl Python 3 none any Details for pymiox-0.1.5-py3-none-any.whl

Total release size: 1.1 MB

Release files / pymiox-0.1.5.tar.gz

Download URL pymiox-0.1.5.tar.gz
Size 496.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2244ab0ad3926f9cc3283481cf7c92d06d75b80c0d4809a6142ca4c0efa20c41
BLAKE2b-256 checksum
How to use checksums
474b5bfb21aae915840b251c9e334b448f4d10d3b044ebb47ba90e8c110a0538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pymiox-0.1.5-py3-none-any.whl

Download URL pymiox-0.1.5-py3-none-any.whl
Size 580.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7ce6d261fcf7133b937ddbce9b3b113dbbfb9ec36fbf56ca7bcc4e420603433
BLAKE2b-256 checksum
How to use checksums
5aabcf07bedb822c6abcc8d90d01723196e81cd84d3996e745e3088559a3b25b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pymiox 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page