: quick visualisation of the spectra or basis spectra
-**svs_segment & mrsi_segment**
: Run tissue segmentation for SVS/MRSI from T1 image.
---
---
#### Usage
### Usage
For each of the wrapper scripts above, simply type `<name_of_script> --help` to get the usage.
For each of the wrapper scripts above, simply type `<name_of_script> --help` to get the usage.
Example command-line usage is demonstrated in the packaged [Jupyter Notebook](https://git.fmrib.ox.ac.uk/saad/fsl_mrs/-/blob/master/example_usage/Example%20SVS%20processing%20-%20command-line.ipynb.).
Documentation can be found online [here](https://users.fmrib.ox.ac.uk/~wclarke/fsl_mrs/userdoc/index.html).
#### File types
### File types
FSL-MRS accepts FID data in NIFTI format. It can also read .RAW format (like LCModel).
FSL-MRS accepts FID data in NIfTI + JSON format. Some scripts can also read .RAW (LCModel) and text (jMRUI).
#### Working in python
Conversion to NIfTI is provided by [spec2nii](https://github.com/wexeee/spec2nii).
If you don't want to use the wrapper scripts, you can use the python modules directly in your own python scripts/programs. Here are some examples below:
### Working in python
- Pre-processing
If you don't want to use the wrapper scripts, you can use the python modules directly in your own python scripts/programs. Or in an interactive Python environment (see example [notebook](https://git.fmrib.ox.ac.uk/saad/fsl_mrs/-/blob/master/example_usage/Example%20SVS%20processing%20-%20interactive%20notebook.ipynb))
- Model fitting - single voxel
- Model fitting - MRSImaging
---
### Permissions and citations
If you use FSL-MRS in your research please cite:
Please see the LICENSE file for licensing information.