Skip to main content

FSLeyes extension for viewing MRS(I) data formatted as NIfTI-MRS.

Project description

fsleyes-plugin-mrs

An FSLeyes plugin for viewing the NIfTI-MRS format.

This plugin adds an additional MRS specific view panel to FSLeyes which displays spectra in the frequency domain. Higher dimensions of data stored in NIfTI-MRS format may be explored.

This plugin also loads and displays results from FSL-MRS's mrsi fitting routine fsl_mrsi. The plugin displays the spectral fit for each voxel and creates an interface for loading output metabolite maps easily.

Installation

Relies on FSLeyes (version >= 1.0.10). This package must be installed in the same environment as FSLeyes is run from.

Install using conda, pip, or by cloning this repository. For full installation instructions please see the documentation.

Conda

After activating the target environment run

conda install -c conda-forge fsleyes-plugin-mrs

PyPI

pip install fsleyes-plugin-mrs

Cloning from git

git clone https://git.fmrib.ox.ac.uk/wclarke/fsleyes-plugin-mrs
cd fsleyes-plugin-mrs
pip install .

Quick start guide

For full instructions please see the documentation.

NIfTI-MRS viewer

Start the dedicated MRSView by selecting MRSView in the View menu.

Once open the NIfTI-MRS dimension selector can be opened by clicking the icon.

Alternatively, a built-in MRS layout can be loaded from the View - Layouts menu, or the command line using:

fsleyes -smrs ...

for example with data

fsleyes -smrs t1.nii.gz svs.nii.gz

MRSI results viewer

A results folder generated by FSL-MRS's fsl_mrsi script can be loaded by using the Tools - Load FSL-MRS fit menu item.

The spectral fit, baseline, and residual is displayed in the MRSView. Metabolite maps and QC metrics can be loaded using the FSL-MRS Results panel added to the bottom of the orthographic view.

Acknowledgements and referencing

If you use this tool in your research please cite: TBC

Thanks to Paul McCarthy for his significant input into development of this plugin.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsleyes_plugin_mrs-0.1.6.tar.gz (93.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsleyes_plugin_mrs-0.1.6-py3-none-any.whl (81.7 kB view details)

Uploaded Python 3

File details

Details for the file fsleyes_plugin_mrs-0.1.6.tar.gz.

File metadata

  • Download URL: fsleyes_plugin_mrs-0.1.6.tar.gz
  • Upload date:
  • Size: 93.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for fsleyes_plugin_mrs-0.1.6.tar.gz
Algorithm Hash digest
SHA256 69b59bfd1998a92b48893585a2174a67c81e7169c7ed38a6793f820ad9da01b3
MD5 d4be0710cf84b29eb10a9041353afeb6
BLAKE2b-256 88c63ab46b75546cc26dfc936dc37d9b0e9d01393163da2c553b6950fb5c73e3

See more details on using hashes here.

File details

Details for the file fsleyes_plugin_mrs-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for fsleyes_plugin_mrs-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 425b7d5ca3f264facc2b80acd5d8da6a8b6192f57433108313fcb2fa0426f9c7
MD5 15ea14ed7c19a4fcf890dfe2802ceac2
BLAKE2b-256 3f1dad2d8c9079e499c4b396864fbc7d2b0143c89a9fda11e9a2085509eea6cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page