SPEC2NII-CLEAN(1)

πŸ“¦ version 0.8.12, in fedora 43, fedora 44

πŸ’– SPEC2NII-CLEAN β€” the glow-up page πŸ’–

okay bestie, listen. this is spec2nii-clean, a lil User Command from the spec2nii fam, and her whole job is fixing up the messy invalid fields chillin' in a NIfTI-MRS header. like, she does a vibe check on your header and edits the stuff that's giving nothing. no cap. πŸŽ€


✨ SYNOPSIS ✨

spec2nii clean [-h] [-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 β€” your NIfTI-MRS file. the main character. hand her over. πŸ’…

πŸ¦‹ OPTIONAL ARGUMENTS

  • -h, --help β€” pops up a help message and dips. classic.
  • -j, --json β€” makes a json sidecar. sidecar bestie, riding along. ✨
  • -f FILEOUT, --fileout FILEOUT β€” sets the output file base name. default is the input file name, so if you don't say anything she just reuses your name (iconic, honestly).
  • -o OUTDIR, --outdir OUTDIR β€” where the output goes. default is . β€” aka right here, right now, no travel.
  • --nifti1 β€” that's it. that's the whole option. no description in the source, so no notes from me, fr fr. πŸ™ˆ
  • --override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...] β€” overrides the ResonantNucleus field with your input(s). e.g. β€˜2H’. give her one, or give her a whole lil lineup.
  • --override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...] β€” overrides the SpectrometerFrequency field with your input(s). heads up: the input is in MHz. πŸ“»
  • --override_dwelltime OVERRIDE_DWELLTIME β€” overrides the dwell time field with your input. input is in seconds. tick tock. ⏱️
  • --anon β€” creates a file with no sensitive metadata. privacy slay. and lowkey if you want greater control over the anon-ing, go use spec2nii-anon(1) instead, she's the specialist. πŸ‘‘
  • --verbose β€” that's all she wrote. literally. no description in the original, so I'm not gonna make one up. πŸ’€
ngl, a couple of these options are giving "mystery box" because the original manpage didn't describe them. I'm keeping it honest and not guessing β€” the facts stay the facts, periodt.

🌈 SEE ALSO 🌈

and the whole squad, all together now:


and that's the whole page, bestie. 🫢 this one's a User Command, dated April 2026, and the source is SPEC2NII-CLEAN(1) β€” so go clean that header, she's been waiting. πŸ’–βœ¨

πŸ“¦ where this page comes from