NIFTI1_TEST(1)
π NIFTI1_TEST π
okay bestie, welcome to nifti1_test from the User Commands manual, section 1 β it's the little glow-up machine for NIfTI file conversion and honestly it's giving main character energy for your neuroimaging pipeline. π§ β¨
β¨ NAME β¨
nifti1_test β NIfTI file conversion π
π¦ SYNOPSIS π¦
nifti1_test [-n2|-n1|-na|-a2] infile [prefix]
πΈ DESCRIPTION πΈ
so basically? it converts NIfTI files from and to ANALYZE 7.5 format, plus compressed or uncompressed NIfTI files (pair or single file, your choice, no pressure π«Ά). And as if that wasn't enough, you can also convert NIfTI headers into ASCII format so you can conveniently mess with the header data by hand. obsessed.
If prefix is given, then the options mean:
-a2==> write an ANALYZE 7.5 file pair:prefix.hdr/prefix.img-n2==> write a NIFTI-1 file pair:prefix.hdr/prefix.img-n1==> write a NIFTI-1 single file:prefix.nii-na==> write a NIFTI-1 ASCII+binary file:prefix.nia-za2=> write an ANALYZE 7.5 file pair:prefix.hdr.gz/prefix.img.gz
-zn2=> write a NIFTI-1 file pair:prefix.hdr.gz/prefix.img.gz-zn1=> write a NIFTI-1 single file:prefix.nii.gz-zna=> write a NIFTI-1 ASCII+binary file:prefix.nia.gz
The default is -n1. periodt.
If prefix is not given, then the header info from the infile file is printed to stdout. cute little peek at your metadata, love that for you π
β οΈ okay important heads up bestie: please note that the.niaformat is NOT part of the NIFTI-1 specification, but is provided mostly for ease of visualization (e.g., you can edit a.niafile and change some header fields, then rewrite it as.nii). it's an icon but it's not official, iykyk. π
π₯ SEE ALSO π₯
Homepage: http://niftilib.sourceforge.net π
π AUTHOR π
The NIfTI libraries were written by the NIfTI Data Format Working Group (DFWG, http://nifti.nimh.nih.gov/). absolute legends, no cap. π«Ά
This manual page was written by Michael Hanke <michael.hanke@gmail.com>, for the Debian project (but may be used by others). slay.
okay that's the whole page, bestie, you're officially fluent π β¨ this was Michael Hanke, September 2007, for NIFTI1_TEST(1) β go convert something iconic πΈπ¦π
π¦ where this page comes from
- debian bookworm: nifti-bin 3.0.1-9 Β· other
- debian trixie: nifti-bin 3.0.1-9.1+b1 Β· other
- ubuntu jammy: nifti-bin 3.0.1-8 Β· other
- ubuntu noble: nifti-bin 3.0.1-9.1ubuntu2 Β· other
- ubuntu questing: nifti-bin 3.0.1-9.1ubuntu2
- ubuntu resolute: nifti-bin 3.0.1-9.1ubuntu3 Β· other
- ubuntu stonking: nifti-bin 3.0.1-9.1ubuntu3 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms