SPEC2NII(1)

πŸ“¦
version 0.8.12 Β· 2 versions
, in fedora 43, fedora 44

✨ 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 .dat twix format.
  • dicom β€” Convert from Siemens DICOM format.
  • rda β€” Convert from Siemens spectroscopy .rda format.
  • 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 format
  • anon β€” 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:


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