SPEC2NII-INSERT(1)

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

πŸ’– SPEC2NII-INSERT(1) πŸ’–

okay so bestie, welcome to the User Commands section of the manual, and today's main character is spec2nii insert β€” she takes a json formatted file and inserts it into an existing NIfTI-MRS file. that's it. that's the whole vibe. slay ✨


🌸 NAME 🌸

spec2nii insert – insert json formatted file into existing NIfTI-MRS file

like. she's a little json-smoosher. she takes your metadata and tucks it into your NIfTI-MRS file. no cap. 🫢


✨ SYNOPSIS ✨

spec2nii insert [-h] [--dwelltime DWELLTIME] [-f FILEOUT] [-o OUTDIR]
file json_file

yes the wrapping is ugly, no i will not be fixing it, that's just how the manpage do. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

πŸŽ€ POSITIONAL ARGUMENTS πŸŽ€

  • file β€” the NIFTI-MRS file. the one you're inserting into. she's the host of the party. πŸŽ‰
  • json_file β€” the JSON file to insert. the little guest bringing the metadata. πŸ™ˆ

πŸ¦‹ OPTIONAL ARGUMENTS πŸ¦‹

  • -h, --help β€” show a help message and exit. classic. iconic. never misses. ⭐
  • --dwelltime DWELLTIME β€” specify a new dwelltime (1/bandwidth, pixdim[4]) value in seconds. yes, seconds. don't come at me with milliseconds, i don't make the rules. 😭
  • -f FILEOUT, --fileout FILEOUT β€” output file base name (default = input file name). so if you don't say anything, she just names it after the input file. lowkey polite of her. 🌸
  • -o OUTDIR, --outdir OUTDIR β€” output location (default = .). that's the current directory, bestie. the one you're already standing in. 🏠

🌈 SEE ALSO 🌈

and the whole squad, fr fr β€” the extended friend group, the group chat, the entire polycule of converters:

note that last pair is space-separated not comma-separated in the original and i am NOT touching it. i respect the source material. periodt. πŸ’―

okay that's the whole page bestie, go insert some json, you got this πŸ’œ

source/version: this one lives under User Commands and is dated April 2026 β€” so yeah, she's from the future, she's booked, she's busy, and she's still here helping you merge your metadata. ate and left no crumbs πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from