SPEC2NII-PHILIPS(1)
β¨ spec2nii-philips(1) β bestie edition β¨
okay so. this is the spec2nii philips manual page, and it's literally your girl for converting files out of the Philips spar/sdat format. if that's your vibe, you're in the right place. pull up a chair, grab a strawberry π, we're doing this.
πΈ NAME πΈ
spec2nii philips β convert from Philips spar/sdat format
like. that's the whole job. it takes your Philips spar/sdat situation and turns it into something else. iconic behavior honestly.
π¦ SYNOPSIS π¦
spec2nii philips [-h] [-t TAGS [TAGS ...]] [-s SHAPE [SHAPE ...]]
[--special SPECIAL] [-j] [-f FILEOUT] [-o OUTDIR] [--nifti1]
[--override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...]]
[--override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...]]
[--override_dwelltime OVERRIDE_DWELLTIME] [--anon] [--verbose] sdat spar
okay yes it's a lot of brackets, don't panic, we're gonna go through every single one together. that's what besties do π
π OPTIONS π
π POSITIONAL ARGUMENTS π
sdatβ your SDAT file. yes you have to give it. it's not optional, it's the main character of this whole operation.sparβ your SPAR file. also required, also not negotiable. the duo goes together, fr fr.
π OPTIONAL ARGUMENTS π
-h,--helpβ show a help message and exit. the classic. when in doubt, ask for help, we love a self-aware king.-t TAGS [TAGS ...],--tags TAGS [TAGS ...]β specify the NIfTI MRS tags used for the higher (5th-7th) dimensions. defaults toDIM_DYNif more than one spectrum is present. and you can absolutely use this to create singleton higher dimensions if that's the energy you're bringing.-s SHAPE [SHAPE ...],--shape SHAPE [SHAPE ...]β specify the shape of those higher (5th-7th) dimensions. applies numpy style reshaping. so like, numpy-coded reshaping, you know the one.--special SPECIALβ identify a special case sequence. the options are:'hyper','hyper-ref'. that's it, that's the list, no notes.-j,--jsonβ create a json sidecar. yes queen, give us the sidecar π-f FILEOUT,--fileout FILEOUTβ output file base name. the default is the input file name, so if you say nothing it just keeps the name it came in with. lowkey respectful.-o OUTDIR,--outdir OUTDIRβ output location. default is.β which, yes, is just right here. very "we're already home" of it.--nifti1β that's it. that's the whole entry. the manpage gives no description for this one and honestly? mysterious. enigmatic. main character energy. it's listed, it's real, we respect it π--override_nucleus OVERRIDE_NUCLEUS [OVERRIDE_NUCLEUS ...]β override theResonantNucleusfield with your input(s). e.g.'2H'. you get to say what the nucleus is and it listens.--override_frequency OVERRIDE_FREQUENCY [OVERRIDE_FREQUENCY ...]β override theSpectrometerFrequencyfield with your input(s). the input is in MHz, keep that in mind, bestie, units matter.--override_dwelltime OVERRIDE_DWELLTIMEβ override the dwell time field with your input. input is in seconds. one value, not a list. just the one.--anonβ create a file without sensitive metadata. for greater control, usespec2nii-anon(1)instead. so this is the quick version, and the other one is the deluxe version.--verboseβ again, no description in the manpage. it's just there, being quiet about being verbose. the irony is not lost on me π
π SEE ALSO π
and the whole extended family, because we don't gatekeep:
spec2nii-auto(1),spec2nii-twix(1),spec2nii-dicom(1),spec2nii-rda(1),spec2nii-uih(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),spec2nii-clean(1)
the whole squad. go say hi. π«Ά
π reminder that this page is spec2nii-philips(1) from April 2026 β and that's the whole thing, no cap. go convert something. slay. β¨π§π
π¦ 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