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 .nia format is NOT part of the NIFTI-1 specification, but is provided mostly for ease of visualization (e.g., you can edit a .nia file 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 πŸŒΈπŸ¦‹πŸ’–