SPEC2NII(1)
β¨ spec2nii β the glow-up your spectroscopy data deserves β¨
okay bestie, listen. this is spec2nii(1), a User Commands situation, and it's literally the tool that takes your raw spectroscopy data and turns it into NIfTI format. no cap. π
πΈ NAME πΈ
spec2nii β convert raw spectroscopy data to NIfTI format. that's it. that's the whole job. and it does it flawlessly. π
π SYNOPSIS π
spec2nii [-h] [-v]
{auto,twix,dicom,rda,uih,philips,philips_dl,philips_dcm,ge,text,jmrui,raw,bruker,varian,anon,dump,extract,insert,clean} ...
so like, you pick a subcommand from that big gorgeous list, and then it does the thing. main character energy fr fr. β¨
π¦ OPTIONS π¦
π POSITIONAL ARGUMENTS π
these are the subcommands, one per data format (plus some extra little helpers at the end, iykyk):
autoβ bestie it just figures it out. Attempt automatic identification and conversion. πͺtwixβ Convert from Siemens.dattwix format.dicomβ Convert from Siemens DICOM format.rdaβ Convert from Siemens spectroscopy.rdaformat.uihβ Convert from UIH DICOM format.philipsβ Convert from Philips spar/sdat format.philips_dlβ Convert from Philips data/list format.philips_dcmβ Convert from Philips DICOM format.geβ Convert from GE p-file format.textβ Convert from plain text format. yes, just text. humble but iconic. πjmruiβ Convert from jMRUI text or binary formats.rawβ Convert from LCModel RAW text format.brukerβ Convert from Bruker data format.varianβ Convert from the Varian/OpenVnmrJ data formatanonβ Anonymise existing NIfTI-MRS file. privacy queen behavior πΆοΈdumpβ Dump contents of headers from existing NIfTI-MRS file.extractβ Generate json sidecar from existing NIfTI-MRS file.insertβ Insert json formatted file into existing NIfTI-MRS file.cleanβ Update invalid fields in NIfTI-MRS header. little janitor moment π§Ή
π OPTIONAL ARGUMENTS π
-h,--helpβ Show a help message and exit. when in doubt, ask for help, that's growth bestie π«Ά-V,--versionβ Show program's version number and exit.
β NOTES β
if you use spec2nii(1), you gotta cite it. it's the rules. give credit where credit is due, periodt. π
the citation, exactly as written:
Clarke WT, Bell TK, Emir UE, Mikkelsen M, Oeltzschner G, Shamaei
A, Soher BJ, Wilson M. NIfTI-MRS: A standard data format for
magnetic resonance spectroscopy. Magn Reson Med. 2022. doi:
10.1002/mrm.29418.
π SEE ALSO π
the whole friend group, all here, all slaying:
spec2nii-auto(1)spec2nii-twix(1)spec2nii-dicom(1)spec2nii-rda(1)spec2nii-uih(1)spec2nii-philips(1)spec2nii-philips_dl(1)spec2nii-philips_dcm(1)spec2nii-ge(1)spec2nii-text(1)spec2nii-jmrui(1)spec2nii-raw(1)spec2nii-bruker(1)spec2nii-varian(1)spec2nii-anon(1)spec2nii-dump(1)spec2nii-extract(1)spec2nii-insert(1)spec2nii-clean(1)
that's the whole page bestie!! π¦ this one's stamped April 2026 and it's page SPEC2NII(1) of your manual, and honestly? she ate. go convert something. πβ¨π
π¦ where this page comes from
- fedora 43: spec2nii 0.8.12-1.fc43 Β· BSD-3-Clause
- fedora 44: spec2nii 0.8.12-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms