SPEC2NII-RAW(1)

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

πŸ’– SPEC2NII-RAW(1) πŸ’–

okay so bestie, welcome to spec2nii-raw β€” it lives in the User Commands section of the manual and it's literally here to convert from LCModel RAW data format. that's the whole gig. πŸŽ€


✨ NAME ✨

spec2nii raw – convert from LCModel RAW data format


🌸 SYNOPSIS 🌸

spec2nii raw [-h] -n NUCLEUS [-i IMAGINGFREQ] [-b BANDWIDTH] [-a FILE]
[-j] [-f FILEOUT] [-o OUTDIR] [--nifti1]
[--override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...]]
[--override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...]]
[--override_dwelltime OVERRIDE_DWELLTIME] [--anon] [--verbose] file

πŸ‘‘ OPTIONS πŸ‘‘

πŸ“ POSITIONAL ARGUMENTS πŸ“

  • file β€” the file you wanna convert. that's it, that's the whole thing. hand it over. 🫢

πŸ¦‹ OPTIONAL ARGUMENTS πŸ¦‹

  • -h, --help β€” shows you a help message and then dips. classic.
  • -n NUCLEUS, --nucleus NUCLEUS β€” the nucleus string. like 1H or 31P. yes you have to give this one, it's not optional, it's giving required main character energy. πŸ‘‘
  • -i IMAGINGFREQ, --imagingfreq IMAGINGFREQ β€” optional bestie. this is the imaging (central) frequency, measured in MHz.
  • -b BANDWIDTH, --bandwidth BANDWIDTH β€” also optional. this is the receiver bandwidth (aka spectral width) in Hz.
  • -a FILE, --affine FILE β€” a NIfTI affine file. yes, that kind of affine. πŸ’…
  • -j, --json β€” makes a json sidecar. little companion file, so cute. ✨
  • -f FILEOUT, --fileout FILEOUT β€” the base name for your output file. default = the input file name, so if you don't say anything it just copies the vibe of whatever you fed it.
  • -o OUTDIR, --outdir OUTDIR β€” where the output goes. default = . (which is literally just "right here", bestie).
  • --nifti1 β€” okay so the original page gives this flag no description at all. not me making one up πŸ’€ it's just there, living its truth. I'm not gonna invent behaviour that isn't written down.
  • --override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...] β€” overrides the ResonantNucleus field with whatever input(s) you give it. e.g. 2H. you can pass more than one, go off. πŸ”₯
  • --override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...] β€” overrides the SpectrometerFrequency field with your input(s). input is in MHz. multiple values? sure, go ahead. 🌈
  • --override_dwelltime OVERRIDE_DWELLTIME β€” overrides the dwell time field with your input. input is in seconds. just the one value here, no little list situation.
  • --anon β€” creates the file without sensitive metadata. πŸ™ˆ if you want greater control over the anonymisation, go use spec2nii-anon(1) instead.
  • --verbose β€” again, the original gives this one no description, so no cap, I'm not adding one. it's there, it exists, that's the tea. 🍡

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie!! this lil icon was dated April 2026 and it's signed off as SPEC2NII-RAW(1) in the User Commands section β€” so go forth, convert that RAW data, and slay. πŸ’…βœ¨πŸ¦‹ periodt. πŸŽ€

πŸ“¦ where this page comes from