SPEC2NII-CLEAN(1)
π 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 theResonantNucleusfield with your input(s). e.g.β2Hβ. give her one, or give her a whole lil lineup.--override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...]β overrides theSpectrometerFrequencyfield 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 usespec2nii-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:
spec2nii-auto(1),spec2nii-twix(1),spec2nii-dicom(1),spec2nii-rda(1),spec2nii-uih(1),spec2nii-philips(1),spec2nii-philips_dl(1),spec2nii-philips_dcm(1),spec2nii-ge(1),spec2nii-text(1),spec2nii-jmrui(1),spec2nii-raw(1),spec2nii-bruker(1),spec2nii-varian(1),spec2nii-anon(1),spec2nii-dump(1),spec2nii-extract(1),spec2nii-insert(1)
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
- fedora 43: spec2nii 0.8.12-1.fc43 Β· BSD-3-Clause
- fedora 44: spec2nii 0.8.12-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms