SPEC2NII-TWIX(1)

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

πŸ’– spec2nii-twix(1) πŸ’–

okay bestie, listen up β€” this is the spec2nii twix manual page, and it's literally the one you want when you need to convert from Siemens .dat twix format. twix files are giving "mysterious proprietary blob" energy and this is the little tool that cracks them open. πŸ¦‹


✨ SYNOPSIS ✨

spec2nii twix [-h] (-v | -e EVALINFO) [-m MULTIRAID] [-q] [-d5 DIM5]
[-t5 TAG5] [-d6 DIM6] [-t6 TAG6] [-d7 DIM7] [-t7 TAG7] [--remove_os]
[-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 vibe.

πŸŽ€ OPTIONAL ARGUMENTS

  • -h, --help β€” pops up a help message and dips. slay.
  • -v, --view β€” just looks at the contents of the twix file, no cap, nothing gets converted. it's giving window shopping. πŸ›οΈ
  • -e EVALINFO, --evalinfo EVALINFO β€” the evalInfo flag you wanna convert.
  • -m MULTIRAID, --multiraid MULTIRAID β€” picks which multiraid file to load (default = 2, i.e. the 2nd file). yeah bestie, it's 2, not 1, don't come for me.
  • -q, --quiet β€” shhh 🀫 suppresses text output.
  • -d5 DIM5, --dim5 DIM5 β€” specify the dim 5 loop counter.
  • -t5 TAG5, --tag5 TAG5 β€” specify the dim 5 NIfTI MRS tag.
  • -d6 DIM6, --dim6 DIM6 β€” specify the dim 6 loop counter.
  • -t6 TAG6, --tag6 TAG6 β€” specify the dim 6 NIfTI MRS tag.
  • -d7 DIM7, --dim7 DIM7 β€” specify the dim 7 loop counter.
  • -t7 TAG7, --tag7 TAG7 β€” specify the dim 7 NIfTI MRS tag.
  • --remove_os β€” removes time-domain oversampling. bye bye oversampling πŸ‘‹
  • -j, --json β€” creates a json sidecar. bestie behaviour, honestly.
  • -f FILEOUT, --fileout FILEOUT β€” output file base name (default = the input file name).
  • -o OUTDIR, --outdir OUTDIR β€” where the output goes (default = .).
  • --nifti1
  • --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). input is in MHz.
  • --override_dwelltime OVERRIDE_DWELLTIME β€” overrides the dwell time field with your input. input is in seconds.
  • --anon β€” creates a file with no sensitive metadata. for greater control, use spec2nii-anon(1) instead. πŸ•΅οΈβ™€οΈ
  • --verbose
heads up bestie: --nifti1 and --verbose are just... sitting there with no description in the original. not me gatekeeping, that's genuinely all there is. πŸ’€

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸ’… this one's from the spec2nii-twix manual, dated April 2026 β€” go forth and convert those .dat twix files, you absolute icon πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from