SPEC2NII-VARIAN(1)

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

🌸 SPEC2NII-VARIAN 🌸

okay bestie, welcome to the spec2nii-varian manual page πŸ’– this is one of the User Commands, and it's the little guy whose whole job is converting from the Varian/OpenVnmrJ data format. no cap. let's get into it πŸ¦‹


✨ NAME ✨

spec2nii varian – convert from the Varian/OpenVnmrJ data format

like. that's it. that's the whole assignment and she ate πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

spec2nii varian [-h] [-t6 TAG6] [-d] [-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

copy that exactly, do not freestyle, I am begging πŸ™ˆ


πŸ’œ OPTIONS πŸ’œ

πŸ“ POSITIONAL ARGUMENTS πŸ“

  • file β€” the path to the varian .fid directory, the one holding your procpar and fid files. that's where all the good stuff lives, periodt.

🌈 OPTIONAL ARGUMENTS 🌈

  • -h, --help β€” shows a help message and then dips. iconic behavior honestly ✨
  • -t6 TAG6, --tag6 TAG6 β€” lets you specify the dim 6 NIfTI MRS tag. the default is DIM_DYN πŸ‘‘
  • -d, --dump_headers β€” dumps the varian header info into a json header extension. (the manpage literally says "Dump Dump" here, and I refuse to edit her, she's perfect πŸ’€)
  • -j, --json β€” creates a json sidecar. sidecar bestie rights πŸ›΅
  • -f FILEOUT, --fileout FILEOUT β€” the output file base name. default = the input file name, so if you don't say anything she just keeps the name you gave her 🫢
  • -o OUTDIR, --outdir OUTDIR β€” where the output goes. default = . (aka right here, in your current directory, lowkey cozy)
  • --nifti1 β€” okay so. the original manpage lists this flag but gives it no description at all. no text, no nothing. I'm not gonna invent one, that's not the vibe πŸ’€ it exists, that's what we know, moving on 🧚
  • --override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...] β€” overrides the ResonantNucleus field with your input(s). e.g. '2H' πŸ’«
  • --override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...] β€” overrides the SpectrometerFrequency field with your input(s). the input is in MHz πŸ“»
  • --override_dwelltime OVERRIDE_DWELLTIME β€” overrides the dwell time field with your input. the input is in seconds ⏱️
  • --anon β€” creates a file with no sensitive metadata. if you want greater control over the anonymisation, use spec2nii-anon(1) instead, she's the specialist πŸ’…
  • --verbose β€” (no description in the original, so I'm not making one up β€” she's just there, being mysterious ✨)

πŸ‘€ SEE ALSO πŸ‘€

and the whole extended fam, go say hi:


bestie reminder: every flag above does exactly what it says and nothing more. if the manpage didn't say it, I didn't say it either 🫢

okay that's the whole page, we're done, go convert something gorgeous πŸ’– this one's dated April 2026 and comes to you from the SPEC2NII-VARIAN(1) era of the manual β€” stay hydrated, back up your data, and slay πŸŒˆπŸ‘‘βœ¨

πŸ“¦ where this page comes from