MRS_TOOLS-SPLIT(1)
π MRS_TOOLS-SPLIT(1) π
okay bestie, welcome to mrs_tools-split, a lil User Commands girly from the mrs_tools family πΈ
β¨ NAME β¨
mrs_tools split β split NIfTI-MRS along higher dimensions π¦
like, it takes your big multidimensional MRS file and goes snip snip along one of the higher dims. it's giving scalpel energy π
β¨ SYNOPSIS β¨
mrs_tools split [-h] --file FILE --dim DIM
(--indices INDICES [INDICES ...] | --index INDEX) [--output OUTPUT]
[--filename FILENAME]
so basically you HAVE to give it a --file and a --dim, and then you gotta pick ONE of the two splitting vibes: either --indices (a whole list of them, queen) or --index (just the one). the --output and --filename are optional little treats π
β¨ OPTIONS β¨
π OPTIONAL ARGUMENTS π
-h,--helpβ shows you a help message and dips. iconic behaviour, honestly π«Ά--indices INDICES [INDICES ...]β a list of indices to extract into the second file β¨ and yes, all of these indices are zero-indexed, so we start counting from 0 like the little programmers we are. no cap.--index INDEXβ the index to split at, and it splits after that index. also zero-indexed π so it's not "split here", it's "split right after here", okay?? important distinction, bestie.--output OUTPUTβ the output folder π and if you don't say anything it just defaults to the current directory. lowkey polite of it.--filename FILENAMEβ override the output file name π you wanna name it something else? go off.
π REQUIRED ARGUMENTS π
--file FILEβ the file you wanna split. the main character of this whole operation, fr fr π--dim DIMβ the NIFTI-MRS dimension tag to merge across π₯ (yes bestie, that's what the manpage says, we're keeping it exactly like that)
β οΈ heads up: you literally cannot run this without--fileand--dim. they're required, periodt.
β¨ SEE ALSO β¨
mrs_tools(1)mrs_tools-info(1),mrs_tools-vis(1),mrs_tools-merge(1),mrs_tools-reorder(1),mrs_tools-reshape(1),mrs_tools-conjugate(1)
the whole friend group π
go say hi to mrs_tools-merge(1) if you change your mind and want to put things back together again lol π
and that's the whole page bestie!! this one's from November 2023, part of the MRS_TOOLS-SPLIT(1) saga β ily, go split something responsibly πβ¨π
π¦ where this page comes from
- fedora 43: python3-nifti-mrs 1.3.3-9.fc43 Β· BSD-3-Clause AND Unlicense
- fedora 43: python3-nifti-mrs 1.4.1-1.fc43 Β· BSD-3-Clause AND Unlicense
- fedora 44: python3-nifti-mrs 1.3.5-1.fc44 Β· BSD-3-Clause AND Unlicense
- fedora 44: python3-nifti-mrs 1.4.1-1.fc44 Β· BSD-3-Clause AND Unlicense
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms