AFNI (Analysis of Functional NeuroImaging) is an environment for processing and displaying functional MRI data - a technique for mapping human brain activity. It was designed and written at MCW, largely by Robert W. Cox, starting in 1994. AFNI runs under Unix+X11+MOTIF systems, including SGI and Linux. It now comprises over 100,000 lines of C source code, and its capabilities are continually being extended. In addition, a skilled C programmer can add interactive and batch functions to AFNI with relative ease.
AFNI refers both to the interactive program of that name, and to the entire software package. The basic unit of data storage is the "3D dataset", which consists of one or more 3D arrays of voxel values (bytes, shorts, floats, or complex numbers), plus some control information stored in a header file.