.. _edu_class_prog: *************************** **Classified program list** *************************** All AFNI programs, great and small, are listed here and classified based on functionality. That is, they are grouped into some general categories that we made up and given short bios. The ranking of each program is to highlight ones that we think are particularly useful in general processing ('5' being the most directly useful, and '1' being something that might just be a low-level, supplementary tool). Note that a given program may appear in more than one group. This page might be most useful by using your browser to search through the text for keywords of interest, such as "ROI", "mask", "diffusion", "align", "model", etc. Clicking on the name of the program will bring you its online help documentation, referenced from :ref:`this page of all AFNI "helps"`. .. contents:: :local: | Interactive viewer GUIs ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`afni ` - GUI-based viewer for exploring data primarily as slices * - 5 - :ref:`suma ` - GUI-based viewer for exploring data in 3D: surfaces, tracts, graph nodes, and volume slices * - 2 - :ref:`aiv ` - AFNI Image Viewer program Voxelwise calcs, esp. stats and tests ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dttest++ ` - Compute voxelwise t-tests (and GLMs) across collection of datasets (see 3dMEMA for generalizing to include within-subjects variance in model) * - 5 - :ref:`3dTstat ` - Compute voxelwise statistics of time series datasets (e.g., mean, variance) * - 5 - :ref:`3dMVM ` - Group-analysis program that performs traditional ANOVA- and ANCOVA style computations, and multivariate modeling * - 5 - :ref:`3dLME ` - Group-analysis program that performs linear mixed-effects (LME) modeling analysis (and see 3dLMEr) * - 5 - :ref:`3dLMEr ` - Voxelwise Linear Mixed-Effects (LME) modeling. The linear mixed-effects modeling approach implemented in 3dLMEr is for population-level analysis, and is much more flexible than 3dLME. * - 5 - :ref:`3dMEMA ` - Group-analysis program that performs Mixed Effects Meta Analysis, modeling both within- and across-subjects variability * - 4 - :ref:`3dMean ` - Compute the average of a number of datasets * - 4 - :ref:`3dICC ` - Compute voxelwise IntraClass correlation (ICC) values. ICC computations are performed with one of the three types: ICC(1, 1), ICC(2,1) and ICC(3,1). Input can be either effect estimates only or effect estimates plus their t-statistics. * - 4 - :ref:`3dISC ` - Compute voxelwise InterSubject Correlation (ISC). ISCs are assessed for naturalistic data at the population through linear mixed-effects (LME) modeling. * - 3 - :ref:`3dGroupInCorr ` - With a group of dsets, calc voxelwise t-tests on group of corr maps wherever user clicks * - 3 - :ref:`3dTcorr1D ` - Correlation coefficient between 3D+time dataset and 1D time series * - 3 - :ref:`3dTcorrMap ` - Compute average correlation of every voxel with every other * - 3 - :ref:`3dTfitter ` - Fit a linear model to each voxel time series, with various methods (L1, L2, LASSO) * - 3 - :ref:`3dPFM ` - Deconvolution analysis of fMRI voxel time series with L1 norm methods (LASSO, Dantzig Selector), akin to 3dTfitter but using a different procedure and algorithms * - 3 - :ref:`3dMEPFM ` - Deconvolution analysis of multi-echo fMRI voxel time series with L1 norm methods (LASSO), akin to 3dPFM * - 2 - :ref:`3dSpaceTimeCorr ` - Calculate the following for 2 dsets on the same grid: for each voxel in grid, calculate correlation map in each dset, and then correlate those spatial maps; store that correlation value at that location. A way to look at similarity of correlation across, say, resting state datasets, perhaps. * - 1 - :ref:`3dSetupGroupInCorr ` - Preliminary program to run when using 3dGroupInCorr * - 1 - :ref:`3dClustSim ` - 3Monte Carlo simulation for multiple comparison correction * - 1 - :ref:`3dTcorrelate ` - Compute correlation between two 3D+time datasets * - 1 - :ref:`3dTfilter ` - Apply a linear filter to each voxel time series (archaic) * - 1 - :ref:`3dTsort ` - Sort each voxel’s time series in various ways * - 1 - :ref:`3dRank ` - * - 1 - :ref:`3dRankizer ` - * - 1 - :ref:`3dANOVA ` - 1-way ANOVA (fixed effects) * - 1 - :ref:`3dANOVA2 ` - 2-way ANOVA (fixed, random, mixed effects) * - 1 - :ref:`3dANOVA3 ` - 3-way ANOVA (fixed, random, mixed effects) * - 1 - :ref:`3dExtractGroupInCorr ` - * - 1 - :ref:`3dFDR ` - False Discovery Rate analysis * - 1 - :ref:`1dSEM ` - Structural equation modeling (path analysis) (why here???) * - 1 - :ref:`3dWilcoxon ` - Nonparametric Wilcoxon test * - 1 - :ref:`3dKruskalWallis ` - Nonparametric Kruskal-Wallis test * - 1 - :ref:`3dFriedman ` - Nonparametric Friedman test * - 1 - :ref:`3dMannWhitney ` - Nonparametric 3dMannWhitney test * - 1 - :ref:`3dRegAna ` - Voxel-wise linear regression analyses * - 1 - :ref:`3dPval ` - Convert each statistical value in a dataset (e.g., t-statistic) to a p-value * - 1 - :ref:`3dNormalityTest ` - Tests the input values at each voxel for normality, using the Anderson-Darling method Get info/stats within ROIs ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`whereami ` - Get atlas region name for coordinates * - 4 - :ref:`3dROIstats ` - Calculate dataset values from multiple ROIs * - 4 - :ref:`3dmaskave ` - Calculate dataset values averaged over a ROI * - 4 - :ref:`3dmaskdump ` - Output all dataset values in a ROI * - 4 - :ref:`3dBrickStat ` - Calculate percentile values within dsets * - 4 - :ref:`@measure_bb_thick ` - measure thickness using ball and box method * - 4 - :ref:`@measure_erosion_thick ` - measure thickness using erosion method * - 4 - :ref:`@measure_in2out ` - measure thickness between in and out masks * - 4 - :ref:`@thickness_master ` - compare thickness measurement methods * - 3 - :ref:`3dUndump ` - Create dataset from text (inverse of 3dmaskdump) * - 2 - :ref:`3dfractionize ` - Resample a mask dataset to a different resolution * - 1 - :ref:`3dOverlap ` - Create mask that is overlap of nonzero voxels from multiple datasets * - 1 - :ref:`3dTto1D ` - Collapse 4D data to 1D in various ways * - 1 - :ref:`@Atlasize ` - Make an atlas from a dataset and label text files * - 1 - :ref:`@MakeLabelTable ` - Assign labels to values * - 1 - AFNI_atlas_spaces.niml - space, atlas, transformations definitions file Build FMRI pipelines ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`afni_proc.py ` - Generate tcsh script for full processing (including QC) of single subject FMRI data--- it might just be your new best friend * - 4 - :ref:`gen_ss_review_scripts.py ` - Generate QC review scripts * - 4 - :ref:`@afni_refacer_run ` - Award-winning program to help anonymize datasets by defacing and/or refacing them (with free QC images!) * - 3 - :ref:`gen_group_command.py ` - Generate group analysis scripts * - 2 - :ref:`uber_subject.py ` - Graphical interface to help set up an afni_proc.py command (probably just use -> afni_proc.py directly; uber_subject.py does not have full range of options that afni_proc.py has; recommended to use afni_proc.py examples as a basis, instead) * - 2 - :ref:`apqc_make_tcsh.py ` - Program used by afni_proc.py to build QC HTML (this builds script to generate images+text) * - 2 - :ref:`apqc_make_html.py ` - Program used by afni_proc.py to build QC HTML (this builds HTML pieces made by apqc_make_tcsh.py) * - 1 - :ref:`uber_proc.py ` - Align/register/warp/axialize spatially ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dvolreg ` - Volumetric registration (rigid body in 3D, 6DOF linear) * - 5 - :ref:`align_epi_anat.py ` - Align 2 volumes (e.g. anat and EPI) * - 5 - :ref:`@SSwarper ` - Skull-stripping program that uses a reference anatomical * - 5 - :ref:`3dQwarp ` - Align two datasets using nonlinear warping (relatedly, see @SSwarper, auto_warp.py, @toMNI_Qwarpar) * - 5 - :ref:`3dAllineate ` - Cross-modality affine volume registration * - 5 - :ref:`3dresample ` - Rewrite dataset in new orientation, with new voxel size * - 4 - :ref:`afni_proc.py ` - Can wrap many registration operations (in addition to/as part of its FMRI processing pipeline generation) * - 4 - :ref:`fat_proc_align_anat_pair ` - Align a T1w dset to a T2w dset, esp. as part of DWI processing and if incorporating FreeSurfer after * - 4 - :ref:`fat_proc_axialize_anat ` - Attempt to align major viewing planes of anatomical with FOV, based on WB alignment to a reference vol * - 4 - :ref:`@animal_warper ` - alignment and skullstripping and moves atlas regions to native space, specially suited for animal brains * - 4 - :ref:`3dNwarpApply ` - Apply a nonlinear warp to transform a dataset * - 3 - :ref:`@Align_Centers ` - Align the center of a dataset to another * - 3 - :ref:`@AddEdge ` - Show two or more datasets with edges for alignment visualization * - 3 - :ref:`cat_matvec ` - Utility for combining linear affine transformation matrices (e.g., from 3dAllineate) * - 3 - :ref:`epi_b0_correct.py ` - Performs B0 distortion correction along the phase encode (PE) direction, using an acquired frequency (phase) image; originally written by Vinai Roopchansingh * - 2 - :ref:`3dCompareAffine ` - Measure the "distance" between 2 different affine spatial transformation matrices, for potential use in testing alignment software tools run in different environments * - 2 - :ref:`1dApar2mat ` - Compute an affine spatial transformation matrix from the set of parameters output by '3dAllineate -1Dparam_save ...'. This code can be used to modify the matrix by altering the physically relevant parameters (e.g., scalings, shifts, rotations, shears), and could be combined with program cat_matvec, for example. * - 1 - :ref:`auto_warp.py ` - wrapper for nonlinear warping with 3dQwarp * - 1 - :ref:`@auto_tlrc ` - Automatic transformation of dataset to match Talairach template (rigid/12dof???) * - 1 - :ref:`3dWarp ` - Non-rigid transformation of 3D coordinates * - 1 - :ref:`3dWarpDrive ` - Volumetric registration, includes warping (12DOF, linear affine); prob use 3dAllineate or align_epi_anat.py (???) * - 1 - :ref:`@align_partial_oblique ` - Align (non-oblique) full- and partial-coverage T1w datasets; consider 3dQwarp instead. * - 1 - :ref:`@SUMA_AlignToExperiment ` - Align volume from FreeSurfer analysis to a different session's anatomical volume in order to warp surfaces similarly * - 1 - :ref:`3dNwarpAdjust ` - Adjust a collection of nonlinear warps for template building (@toMNI_Qwarpar) * - 1 - :ref:`3dNwarpCalc ` - Carry out calculations on nonlinear warps * - 1 - :ref:`3dNwarpCat ` - Combine linear and nonlinear warps (spatial transformations) * - 1 - :ref:`3dNwarpFuncs ` - Compute various voxelwise information about a nonlinear warp (e.g., Jacobian) * - 1 - :ref:`3dNwarpXYZ ` - Apply a nonlinear warp to a set of (x,y,z) triples * - 1 - :ref:`3dTagalign ` - Align datasets by matching manually placed 'tags' * - 1 - :ref:`3drotate ` - Rigid body rotation of dataset in 3D * - 1 - :ref:`adwarp ` - Transform dataset using warp from dataset header * - 1 - :ref:`Vecwarp ` - Transform 3-vectors using warp from dataset header * - 1 - :ref:`2dImReg ` - Slice-by-slice registration (rigid body in 2D) * - 1 - :ref:`3daxialize ` - (obsolete -> use 3dresample) * - 1 - :ref:`@toMNI_Awarp ` - Make a group template - affine alignment * - 1 - :ref:`@toMNI_Qwarpar ` - Make a group template - iterative nonlinear alignment * - 1 - :ref:`uber_align_test.py ` - GUI for affine alignment with align_epi_anat.py * - 1 - :ref:`unWarpEPI.py ` - Blip-up/down unwarping nonlinear alignment * - 1 - :ref:`@Shift_Volume ` - Move origin of dataset by specified amount or shift between MNI and MNI_ANAT * - 1 - plugin(Edit Tagset) - Place 'tags' in a dataset interactively SUMA surface calculations, formats and viewing ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`@SUMA_Make_Spec_FS ` - Convert Freesurfer surfaces to SUMA spec files * - 4 - :ref:`IsoSurface ` - Extract isosurface from a volume * - 4 - :ref:`3dSurf2Vol ` - Compute volume equivalent from surface or pair of surfaces * - 4 - :ref:`3dVol2Surf ` - Assign values to surface nodes from volumetric data * - 4 - :ref:`DriveSuma ` - Send commands to SUMA program from script * - 3 - :ref:`SurfaceMetrics ` - Provides information on surface mesh * - 3 - :ref:`SurfMeasures ` - Compute various measurements for surface or pair of surfaces * - 3 - :ref:`quickspec ` - Generate (basic) specification file for running suma * - 3 - :ref:`@surf_to_vol_spackle ` - Project values from surface to volume and fill holes * - 2 - :ref:`@SUMA_Make_Spec_SF ` - Convert SureFit surfaces to SUMA spec files * - 1 - :ref:`Surf2VolCoord ` - * - 1 - :ref:`SurfClust ` - Find clusters on surfaces * - 1 - :ref:`SurfDist ` - Output shortest distance between two nodes on a surface (along surface or Euclidean) * - 1 - :ref:`SurfDsetInfo ` - Display information about surface dataset * - 1 - :ref:`SurfExtrema ` - Find local extrema in a (surface) dataset * - 1 - :ref:`SurfFWHM ` - * - 1 - :ref:`SurfInfo ` - Show information on surface * - 1 - :ref:`SurfMesh ` - Reduce number of points in surface mesh * - 1 - :ref:`SurfPatch ` - Extract patch of surface or compute volume from specified nodes * - 1 - :ref:`SurfQual ` - Quality check for surfaces * - 1 - :ref:`SurfRetinoMap ` - * - 1 - :ref:`SurfSmooth ` - Smooth surfaces * - 1 - :ref:`@SurfSmooth.HEAT_07.examples ` - * - 1 - :ref:`SurfToSurf ` - Interpolate data from one surface onto mesh of another surface * - 1 - :ref:`suma_change_spec ` - * - 1 - :ref:`SUMA_glxdino ` - * - 1 - :ref:`SUMA_paperplane ` - * - 1 - :ref:`SUMA_pixmap2eps ` - * - 1 - :ref:`ROI2dataset ` - Convert ROI (e.g., after drawing) to SUMA-type dset * - 1 - :ref:`3dSurfMask ` - Generate volumetric mask for inside of surface * - 1 - :ref:`ConvertDset ` - Converts a surface dataset from one format to another * - 1 - :ref:`ConvertSurface ` - Convert surface files among various formats * - 1 - :ref:`CompareSurfaces ` - Compute distances between two surfaces at each node * - 1 - :ref:`CreateIcosahedron ` - * - 1 - :ref:`MapIcosahedron ` - Create new version of surface mesh using mesh of icosahedron * - 1 - :ref:`@IsoMasks ` - * - 1 - :ref:`MakeColorMap ` - Make afni and suma colormaps Mask/skull-strip/segment ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dAutomask ` - Generate a brain and skull-only mask * - 5 - :ref:`3dSkullStrip ` - Enhanced skull stripping * - 5 - :ref:`@SSwarper ` - Combines skull stripping with generating a warp to a nonlinear template space; directly combinable with afni_proc.py, too! * - 4 - :ref:`3dmask_tool ` - for combining/dilating/eroding/filling masks * - 4 - :ref:`@afni_refacer_run ` - Award-winning program to help anonymize datasets by defacing and/or refacing them (with free QC images!) * - 4 - :ref:`@animal_warper ` - alignment and skullstripping and moves atlas regions to native space, specially suited for animal brains (and directly combinable with afni_proc.py) * - 3 - :ref:`@NoisySkullStrip ` - Strips the skull of anatomical datasets with low SNR * - 3 - :ref:`3dSeg ` - Segment anatomical (t1w) volume into major brain tissue types * - 1 - :ref:`3dinfill ` - Edit masks by filling in holes * - 1 - :ref:`3dIntracranial ` - Strip off outside-the-brain voxels * - 1 - :ref:`3dClipLevel ` - Find value to threshold off outside-the-brain voxels * - 1 - plugin(Draw Dataset) - Manually draw ROI mask datasets * - 1 - plugin(Gyrus Finder) - Interactively segment gray and white matter Make/edit/evaluate stimulus timing files ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`make_random_timing.py ` - Generate random stimulus times files * - 4 - :ref:`timing_tool.py ` - Edit stimulus timing files * - 1 - :ref:`1dMarry ` - Combine ragged 1D files for use with 3dDeconvolve's -stim_times_AM2 option * - 1 - :ref:`make_stim_times.py ` - Convert 0/1 stim file format to stim times format * - 1 - :ref:`RSFgen ` - (obsolete -> use make_random_timing.py) * - 1 - :ref:`stimband ` - Edit dset headers ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dinfo ` - Print out information from the header * - 5 - :ref:`nifti_tool ` - Displays, modifies, copies nifti structures in datasets * - 4 - :ref:`3drefit ` - Lets you change attributes in a dataset header * - 3 - :ref:`3dCM ` - Estimate dset's center of mass, and allow recentering * - 2 - :ref:`3dnewid ` - Assign a new ID code to a dataset (also, generate a random string for filenames); useful for scripting to get temporary filenames/directory names * - 1 - :ref:`3dAttribute ` - Print out a single header attribute * - 1 - :ref:`3dnvals ` - Print out the number of sub-bricks (3D volumes) in a dataset * - 1 - :ref:`3dNotes ` - Lets you put text notes into a dataset header * - 1 - :ref:`gifti_tool ` - Displays, modifies, copies nifti structures in datasets * - 1 - :ref:`cifti_tool ` - Displays, modifies, copies nifti structures in datasets * - 1 - :ref:`nifti1_tool ` - (how diff than nifti_tool???) * - 1 - :ref:`@AfniOrient2RAImap ` - Convert orientation code into signed code used in AFNI header * - 1 - :ref:`@AfniOrientSign ` - Convert orientation code into signed +/-1 code relative to RAI and permutations * - 1 - :ref:`@FromRAI ` - Convert RAI coordinates into another coordinate order * - 1 - :ref:`@ToRAI ` - Convert coordinates to RAI order * - 1 - :ref:`@FullPath ` - Get absolute path of a file * - 1 - :ref:`@GetAfniBin ` - Returns path of afni executables * - 1 - :ref:`@GetAfniDims ` - Get dimensions of dataset * - 1 - :ref:`@GetAfniID ` - Get AFNI ID of dataset * - 1 - :ref:`@GetAfniOrient ` - Get orientation code of dataset * - 1 - :ref:`@GetAfniPrefix ` - Get prefix part of dataset name * - 1 - :ref:`@GetAfniRes ` - Get voxel resolution of dataset * - 1 - :ref:`@GetAfniView ` - Get afni view equivalent of dataset (+orig,+tlrc) * - 1 - :ref:`@parse_name ` - Return parts of an AFNI or NIFTI dataset name * - 1 - :ref:`@parse_afni_name ` - Return parts of an AFNI dataset name * - 1 - :ref:`ParseName ` - Return parts of a dataset name including AFNI specifiers * - 1 - :ref:`@FindAfniDsetPath ` - Find a path to dataset * - 1 - :ref:`@isOblique ` - Flag if dataset is marked as oblique * - 1 - :ref:`@Shift_Volume ` - Move origin of dataset by specified amount or shift between MNI and MNI_ANAT * - 1 - plugin(Dataset NOTES) - Interactive header notes editor Compute various numbers from datasets ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dFWHMx ` - Estimate FWHM for all sub-bricks of dataset * - 3 - :ref:`3dBrickStat ` - Simple statistics (max, min, mean) for scripts * - 2 - :ref:`3dExtrema ` - Find local maxima (or minima) of datasets * - 1 - :ref:`3ddot ` - Dot product (correlation coefficient) of 2 sub-bricks * - 1 - :ref:`3dStatClust ` - Find statistically connected clusters * - 1 - :ref:`3dGetrow ` - Output voxel values for a row/column in x,y,z space Blur and smooth dsets ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dmerge ` - Process (e.g., blur) and optionally combine datasets * - 1 - :ref:`3dBlurInMask ` - Blur a dataset, but only inside a mask (or masks) * - 1 - :ref:`3dBlurToFWHM ` - Blur a dataset to a given level of smoothness (for inter-site studies) * - 1 - :ref:`3danisosmooth ` - Smooth a dataset using an anisotropic technique to preferentially preserve edges (e.g., to clean up structural images) * - 1 - :ref:`3dMedianFilter ` - Smooth a 3D volume using a median filter Volume editing/image processing ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dedge3 ` - Calculate edges in 3D, using "Optimal edge detection using recursive filtering" * - 4 - :ref:`3danisosmooth ` - Smooth a dataset using an anisotropic technique to preferentially preserve edges (e.g., to clean up structural images) * - 4 - :ref:`3dUnifize ` - Correct T1-weighted dataset for non-uniform histogram * - 2 - :ref:`3dSharpen ` - 3D sharpening filter applied to a dataset (to clean up a template) Update AFNI, install software, check setup/info (not demos) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`@update.afni.binaries ` - Update current AFNI binaries * - 5 - :ref:`afni_system_check.py ` - Evaluate present setup * - 4 - :ref:`rPkgsInstall ` - Get+install all necessary R packages * - 4 - :ref:`@afni_R_package_install ` - Install the R packages required by some AFNI programs from the Linux terminal (see also rPkgsInstall). * - 3 - :ref:`afni_check_omp ` - Returns one value, the number of OMP_NUM_THREADS set (for programs able to use multiple CPUs with OpenMP) * - 1 - :ref:`@get.afni.version ` - Download an archived version of AFNI source code using github * - 1 - :ref:`afni_vcheck ` - Check if update needed (compare present and available version numbers) Simple dset calcs (-> make new dsets) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dcalc ` - Voxel-by-voxel general purpose calculator * - 5 - :ref:`3dmerge ` - Various spatial filters, thresholds, and averaging * - 5 - :ref:`3dTstat ` - Various statistics of multi-brick datasets, voxel-by-voxel * - 4 - :ref:`3dMean ` - Average datasets together, voxel-by-voxel, for each timept * - 4 - :ref:`3danisosmooth ` - Smooth a dataset using an anisotropic technique to preferentially preserve edges (e.g., to clean up structural images) * - 2 - :ref:`3dPVmap ` - Compute the first 2 principal vectors (component time series) of a 3D+time dataset, then output a dataset measuring the R^2 of the input dataset with the 2D subspace spanned by these 2 vectors. The same algorithm is used in the 3dGrayplot program to order the voxels to cluster similar time series together, for visualization. * - 1 - :ref:`3dWinsor ` - Nonlinear order statistics filter for spatial smoothing * - 1 - :ref:`3dLocalstat ` - Find simple statistical values for neighborhoods around each voxel * - 1 - :ref:`3dLocalBistat ` - Compute various bivariate statistics for neighborhoods around each voxel * - 1 - :ref:`3dLocalstat ` - Compute some local statistics in a neighborhood around each voxel * - 1 - :ref:`3dLocalACF ` - Compute mixed model ACF parameters in a neighborhood around each voxel * - 1 - :ref:`3dLocalPV ` - Compute the 'principal vector' from a time series dataset, in a neighborhood around each voxel * - 1 - :ref:`3dLocalSVD ` - Compute the SVD from a time series dataset, in a neighborhood around each voxel * - 1 - :ref:`3dLocalHistog ` - Compute the count of how many times each unique value occurs, in a neighborhood around each voxel * - 1 - :ref:`3dTto1D ` - Collapse 4D data to 1D in various ways * - 1 - :ref:`3dmatcalc ` - Applies matrix to datasets * - 1 - :ref:`3dmatmult ` - Multiply datasets as matrices Resting state FMRI parameters ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 3 - :ref:`3dRSFC ` - Calculate RSFC parameters (ALFF, fALFF, RSFA, etc.) for uncensored time series * - 3 - :ref:`3dReHo ` - Calculate ReHo (Kendall's coefficient of concordance) for time series * - 3 - :ref:`3dLombScargle ` - Calculate amp/pow spectrum (like FFT) along time axis with missing time points * - 3 - :ref:`3dAmpToRSFC ` - Calculate RSFC parameters (ALFF, fALFF, RSFA, etc.) from 3dLombScargle output * - 2 - :ref:`3dSpaceTimeCorr ` - Calculate the following for 2 dsets on the same grid: for each voxel in grid, calculate correlation map in each dset, and then correlate those spatial maps; store that correlation value at that location. A way to look at similarity of correlation across, say, resting state datasets, perhaps. Region-wise group analysis ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`RBA ` - Region-Based Analysis. RBA performs Bayesian multilevel (BML) modeling for a list of predefined ROIs. Instead of controlling for multiple testing in conventional population-level analysis, RBA borrows and calibrates the information across regions (see also BayesianGroupAna.py) * - 5 - :ref:`BayesianGroupAna.py ` - The Python version of RBA, for Bayesian multilevel (BML) modeling for a list of predefined ROIs (see also RBA) * - 3 - :ref:`MBA ` - Matrix-Based Analysis. MBA is for population-level analysis with matrix (e.g., correlation) data from each subject as input. Partial pooling is adopted through Bayesian multilevel (BML) modeling Make/edit correlation matrices ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dNetCorr ` - Calculate correlation matrix of a set of ROIs, as well as WB maps of each * - 3 - :ref:`fat_mat2d_plot.py ` - Visualize functional correlation (\*.netcc files) or tracted-WM property (\*.grid file) matrices * - 1 - :ref:`@ROI_Corr_Mat ` - Make an NxN ROI correlation matrix of N ROIs (consider 3dNetCorr instead) * - 1 - :ref:`fat_mat_sel.py ` - (obsolete -> use fat_mat2d_plot.py) * - 1 - :ref:`3dErrtsCormat ` - Compute the correlation matrix for the residual (or error) time series in a dataset Make/edit ROIs and clusters, resample ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dresample ` - Rewrite dataset, possibly in new orientation, with new voxel size * - 5 - :ref:`3dClusterize ` - Find clusters of voxels in a dataset and print out a table about the clusters * - 4 - :ref:`3dmerge ` - Edit datasets (e.g., blur, cluster), and optionally combine them * - 3 - :ref:`3dclust ` - Find+report about clusters in a dataset (see 3dClusterize for a newer program with newer options and easier syntax) * - 3 - :ref:`3dUndump ` - Create a 3D dataset from text data; complements 3dmaskdump * - 3 - :ref:`3dROIMaker ` - Threshold and clusterize dataset, as well as inflate (esp. for tractography prep) * - 3 - :ref:`3dExchange ` - Exchange values from one set of indices with another set * - 2 - :ref:`3dfractionize ` - Resample a mask to a different grid size * - 2 - :ref:`@ROI_modal_grow ` - Dilate regions iteratively by most common value within a neighborhod * - 2 - :ref:`@ROI_decluster ` - Remove small separate parts of region * - 1 - :ref:`3dExtrema ` - Find local extrema within volumes * - 1 - :ref:`3dmaxima ` - Find local extrema within volumes * - 1 - :ref:`3dClustCount ` - Apply thresholds to dsets at various levels, and just count clusters of various sizes; used mainly for simulations. Edit dsets: concatenate, split, add/remove slices ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dTcat ` - Concatenate sub-bricks from input datasets into one big 3D+time dataset * - 4 - :ref:`3dZeropad ` - Add zero slices around the edges of a dataset * - 3 - :ref:`3dZcat ` - Assemble a 3D+time dataset from multiple input sub-bricks * - 3 - :ref:`3dAutobox ` - Automatically crop a dataset to remove empty space * - 3 - :ref:`3dZcutup ` - Cut slices out of a dataset to make a 'thinner' dataset * - 3 - :ref:`3dXYZcat ` - Glue multiple sub-bricks together along the {x|y|z}-axis * - 1 - :ref:`3dbucket ` - Assemble a bucket dataset from multiple input sub-bricks * - 1 - :ref:`3dTsplit4D ` - Convert a 3D+time dataset into multiple 3D single-brick files * - 1 - :ref:`3dZregrid ` - Interpolate a dataset to a different slice thickness Drive AFNI/SUMA, make images/snapshots/montages ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`@chauffeur_afni ` - Wrapper to combine environment+driving functionality to save image files of 3D dataset (nice in conjunction with 2dcat to form arrays of images) * - 5 - :ref:`2dcat ` - Very useful program for making grids of images and things (nice in conjunction with @chauffeur_afni or generally driving AFNI) * - 5 - :ref:`@snapshot_volreg ` - Drive AFNI to save QC images of EPI-anatomical alignment * - 4 - :ref:`DriveSuma ` - Drive suma from external program * - 3 - :ref:`@Quiet_Talkers ` - Close all network talking afni and suma instances (often used at end of "talking" scripts) * - 3 - :ref:`@djunct_4d_imager ` - Wrapper to combine environment+driving functionality to save image/movies files of 4D dataset * - 3 - :ref:`plugout_drive ` - Drive afni GUI from external program * - 2 - :ref:`@DriveAfni ` - Example script to drive afni GUI with class data * - 2 - :ref:`@DriveSuma ` - Example script to drive suma with class data * - 1 - :ref:`HalloSuma ` - * - 1 - :ref:`adjunct_calc_mont_dims.py ` - Sub-functionality of @djunct_dwi_selector.tcsh * - 1 - :ref:`@djunct_dwi_selector.tcsh ` - Helper/intermediate function for fat_proc_select_vols * - 1 - :ref:`adjunct_select_str.py ` - Sub-functionality of @djunct_dwi_selector.tcsh * - 1 - :ref:`plugout_ijk ` - * - 1 - :ref:`plugout_tt ` - * - 1 - :ref:`plugout_tta ` - * - 1 - :ref:`@CommandGlobb ` - Execute AFNI commands for multiple datasets * - 1 - :ref:`prompt_popup ` - Popup a dialog box with a message and buttons * - 1 - :ref:`prompt_user ` - (obsolete -> use prompt_popup) * - 1 - :ref:`@AfniEnv ` - Get and set AFNI environment variables * - 1 - :ref:`imcat ` - (deprecated name -> use new name 2dcat) Deal with 1D time series ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`1d_tool.py ` - Perform various manipulations of 1D data * - 4 - :ref:`1dplot ` - Plot/graph values from columns in a file * - 4 - :ref:`1dplot.py ` - Like 1dplot, but more modern Python-based viewing (more options; requires Python-matplotlib) * - 3 - :ref:`1dtranspose ` - Transpose 1D files (interchange rows and columns) * - 1 - :ref:`1dCorrelate ` - Calculate correlation coefficients between 1D columns, with confidence intervals * - 1 - :ref:`1deval ` - 1D calculator (like 3dcalc for 1D files) * - 1 - :ref:`1dcat ` - Catenate 1D files horizontally (use system program cat for vertical combining) * - 1 - :ref:`1dgrayplot ` - Show values from columns in a file as bands of gray levels * - 1 - :ref:`1dmatcalc ` - Matrix calculator for 1D files * - 1 - :ref:`1dsum ` - Add up all numbers in columns of a 1D file (can also do means) * - 1 - :ref:`1dTsort ` - Sort each column of the input 1D file (separately) * - 1 - :ref:`1dsvd ` - Compute the Singular Value Decomposition of a matrix (including PCA) * - 1 - :ref:`1dUpsample ` - Interpolate columns of a 1D file to a finer grid * - 1 - :ref:`column_cat ` - Catenate data horizontally DWI/DTI/diffusion-related ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dDWItoDT ` - Estimate diffusion tensor and parameters from DWIs (and see fat_proc_dwi_to_dt) * - 5 - :ref:`3dTrackID ` - Perform deterministic, mini- or fully-probabilistic tracking for DTI or HARDI data * - 5 - :ref:`fat_proc_convert_dcm_anat ` - Wrapper to convert 3D dataset from DICOMs, with additional nice features. * - 5 - :ref:`fat_proc_convert_dcm_dwis ` - Wrapper to convert 4D dataset from DICOMs, with additional nice features. * - 5 - :ref:`fat_proc_decmap ` - Make a directionally-encoded color map of DTI data. * - 5 - :ref:`fat_proc_dwi_to_dt ` - Wrapper to estimate DT and parameters, and align datasets. * - 5 - :ref:`fat_proc_filter_dwis ` - Graphical interface to help user select out bad volumes (esp. from DWI dataset) * - 5 - :ref:`fat_proc_imit2w_from_t1w ` - Invert a T1w dataset to imitate a T2w-type contrast dset (as a backup ref for DWI processing with TORTOISE) * - 5 - :ref:`fat_proc_map_to_dti ` - Wrapper to bring data (esp. FS surfaces and parcels) into DTI space * - 5 - :ref:`fat_proc_select_vols ` - Select out good valumes in a DWI dataset + associated text files * - 5 - :ref:`@GradFlipTest ` - Test what 'flip', if any, is necessary for gradients in a DWI set * - 5 - :ref:`1dDW_Grad_o_Mat++ ` - Perform calculations and conversions of DWI gradients and matrices * - 4 - :ref:`3dDWUncert ` - Estimate uncertainty of FA and V1 of diffusion tensor dataset, for tracking purposes (and see fat_proc_dwi_to_dt) * - 4 - :ref:`@fat_tract_colorize ` - Visualize volumetric output maps from 3dTrackID tracking * - 3 - :ref:`fat_roi_row.py ` - Select a single ROI's row out of a connectivity matrix file (\*.grid or \*.netcc) * - 3 - :ref:`3dZipperZapper ` - Try to see if volumes (particularly DWI volumes) have dropout or severe motion; mostly stable, but somewhat in beta * - 3 - :ref:`fat_proc_connec_vis ` - View volumetric output (WM connections/segments) from tractography, esp. the "3dTrackID -dump_rois .." output. * - 2 - :ref:`convert_cdiflist_to_grads.py ` - Convert of GE cdiflist to a more usable form (gradient file + file of b-values); * - 1 - :ref:`3dDTeig ` - Computes eigenvalues and eigenvectors for an input DT set * - 1 - :ref:`3dDTtoDWI ` - Calculate 'ideal' DWIs for each grad, from DT+b0+gradient files * - 1 - :ref:`3dDTtoNoisyDWI ` - Make a simulated DWI set with random noise, from DT+gradient information * - 1 - :ref:`3dEigsToDT ` - Calculate diffusion tensor dataset from eigenvalues and eigenvectors * - 1 - :ref:`3dTORTOISEtoHere ` - Convert standard TORTOISE-format DTs to AFNI-format DTs * - 1 - :ref:`DTIStudioFibertoSegments ` - Convert a DTIStudio Fiber file to a SUMA segment file * - 1 - :ref:`InstaTract ` - (intermediate function only) * - 1 - :ref:`map_TrackID ` - Apply linear affine transform to track file (\*.trk format only) Convert surfaces from other software ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`@SUMA_Make_Spec_FS ` - Convert output from standard FreeSurfer 'recon-all' processing to AFNI+SUMAland * - 1 - :ref:`@SUMA_Make_Spec_Caret ` - Convert output from standard Caret processing to AFNI+SUMAland * - 1 - :ref:`@SUMA_Make_Spec_SF ` - Convert output from standard SureFit processing to AFNI+SUMAland * - 1 - :ref:`@SUMA_FSvolToBRIK ` - * - 1 - :ref:`@SUMA_renumber_FS ` - Renumber standard FS-'recon-all' seg+parc values; make tissue-grouped maps (part of @SUMA_Make_Spec_FS) * - 1 - :ref:`@suma_reprefixize_spec ` - * - 1 - :ref:`@FSlabel2dset ` - * - 1 - :ref:`FSread_annot ` - * - 1 - :ref:`@FS_roi_label ` - * - 1 - :ref:`parse_fs_lt_log.py ` - Parse FreeSurfer region labels to get indices Convert statistics and p-values ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`ccalc ` - A command line calculator (like 3dcalc) * - 4 - :ref:`cdf ` - Compute probabilities, thresholds for standard distributions * - 4 - :ref:`p2dsetstat ` - Convert a p-value to a stat, using parameters stored in a dset header (complement of dsetstat2p) * - 3 - :ref:`dsetstat2p ` - Convert a stat to a p-value, using parameters stored in a dset header (complement of p2dsetstat) Compare dset volumes (masks or valued) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dABoverlap ` - Count overlaps between 2 datasets (union, intersection, etc.) * - 5 - :ref:`3dSliceNDice ` - Calculate Dice coefficients slice-by-slice (for all three FOV planes) between mask dsets. * - 4 - :ref:`3dMatch ` - Find pairs of similar-looking subbricks between two groups of dsets * - 1 - :ref:`@DiceMetric ` - Computes Dice Coefficient between two datasets * - 1 - :ref:`3ddot ` - Calculate correlation coefficients between sub-brick pairs in a 4D dset * - 1 - :ref:`3ddot_beta ` - Faster version of 3ddot, though currently just for calculating eta-squared * - 1 - :ref:`3dOverlap ` - Count of number of voxels that are nonzero in ALL of the input dataset sub-bricks Time series pre-processing ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dTshift ` - Shift slices to a common time origin (temporal interpolation) * - 3 - :ref:`3dBrainSync ` - Alter one dataset’s time series to be maximally correlated with another dataset’s time series * - 1 - :ref:`3dDespike ` - Remove spikes from voxel time series * - 1 - :ref:`3dDetrend ` - Remove trends from voxel time series * - 1 - :ref:`3dTproject ` - Project out time series (like -errts from 3dDeconvolve) * - 1 - :ref:`3dTsmooth ` - Smooth time series in the time domain * - 1 - :ref:`3dTRfix ` - Resample a dataset in time from an irregular grid to a regular grid * - 1 - :ref:`RetroTS.py ` - Generate slicewise physiological regressors Time series analysis ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dREMLfit ` - Multiple linear regression (generalized least squares) * - 4 - :ref:`3dDeconvolve ` - Multiple linear regression and deconvolution (ordinary least squares) * - 1 - :ref:`3dNLfim ` - Nonlinear regression * - 1 - :ref:`3dLSS ` - Ad hoc version of IM regression, giving amplitudes for each stimulus event * - 1 - :ref:`3dTcorrelate ` - Correlate two input datasets, voxel-by-voxel * - 1 - :ref:`3dAutoTcorrelate ` - Correlate each voxel with every other voxel * - 1 - :ref:`3dpc ` - Principal component analysis * - 1 - :ref:`3dSynthesize ` - Compute 3d+time dataset from partial model * - 1 - :ref:`3ddelay ` - Single regressor linear analysis with time shifting * - 1 - :ref:`3dfim+ ` - Linear regression (obsolete -> use 3dDeconvolve) * - 1 - :ref:`1dNLfit ` - Fit a general model to a vector of data * - 1 - plugin(Deconvolution) - Interactive deconvolution * - 1 - plugins(Nlfit and Nlerr) - Interactive nonlinear regression Quality checks (for 3D+time datasets or results) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dToutcount ` - Check voxel time series for quality (temporal outliers) * - 4 - :ref:`@radial_correlate ` - Check datasets for correlation artifact * - 4 - :ref:`gen_ss_review_scripts.py ` - Generate QC review scripts * - 1 - :ref:`3dTqual ` - Check dataset sub-bricks for quality (spatial outliers) * - 1 - :ref:`@compute_gcor ` - Compute average pairwise correlation (GCOR), one number * - 1 - :ref:`gen_ss_review_table.py ` - Generate spread-sheet of review_basic results Miscellaneous file manipulations ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`file_tool ` - Display or edit data in arbitrary files * - 4 - :ref:`1d_tool.py ` - For manipulating and evaluating 1D files * - 1 - :ref:`@diff.files ` - Compare (diff) a set of files to those in another location * - 1 - :ref:`@diff.tree ` - Compare (diff) 2 directory trees of files * - 1 - :ref:`2swap ` - Byte pair swap, e.g., ab ba * - 1 - :ref:`4swap ` - Byte quad swap, e.g., abc dcba * - 1 - :ref:`24swap ` - Mixed 2 and 4 byte swaps in same file * - 1 - :ref:`strblast ` - Find a string in a file and replace it with junk * - 1 - :ref:`@NoExt ` - Remove specified file extensions from file name * - 1 - :ref:`@NoPound ` - Change name of file or dataset to avoid pound (#) symbols * - 1 - :ref:`@np ` - Generate new prefix given some base prefix MVM modelling of (correlational or structural) matrices ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 3 - :ref:`fat_mat2d_plot.py ` - Plot matrices from 3dNetcorr (\*.netcc) or 3dTrackID (\*.grid) files * - 3 - :ref:`fat_mvm_prep.py ` - Combine \*.grid/\*.netcc files with subject data in CSV files; for fat_mvm\* modeling * - 3 - :ref:`fat_mvm_scripter.py ` - Read in a data table file (esp. from fat_mvm_prep.py) and build 3dMVM command * - 1 - :ref:`fat_mat_sel.py ` - (obsolete -> use fat_mat2d_plot.py) * - 1 - :ref:`fat_mvm_gridconv.py ` - Convert ooold 3dTrackID output \*.grid files; should be unnecessary now Interact with multi-echo data ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`afni_proc.py ` - Generate FMRI processing pipelines, including for multi-echo FMRI data; can use several methods for combining echoes, such as optimally combined (via @compute_OC_weights) and tedana.py, as well as others * - 3 - :ref:`3dMEPFM ` - Deconvolution analysis of multi-echo fMRI voxel time series with L1 norm methods (LASSO), akin to 3dPFM * - 2 - :ref:`@compute_OC_weights ` - Compute optimally combined weights dataset * - 1 - :ref:`meica.py ` - P Kundu's MEICA denoising tools * - 1 - :ref:`@Install_MEICA_Demo ` - Install the demo archive for P Kundu's MEICA denoising tools Generate model 1D time series ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 3 - :ref:`3dDeconvolve ` - Generate hemodynamic responses for stimulus timing files * - 1 - :ref:`1dBport ` - Generate columns of sines and cosines for bandpassing * - 1 - :ref:`waver ` - Generate hemodynamic responses to stimulus time series Fourier related, time series/freq ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`3dDFT ` - FFT along time axis * - 3 - :ref:`3dLombScargle ` - Calculate amp/pow spectrum (like FFT) along time axis with missing time points * - 3 - :ref:`3dAmpToRSFC ` - Calculate RSFC parameters (ALFF, fALFF, RSFA, etc.) from 3dLombScargle output * - 3 - :ref:`3dBandpass ` - * - 3 - :ref:`3dRSFC ` - Calculate RSFC parameters (ALFF, fALFF, RSFA, etc.) for uncensored time series * - 1 - :ref:`3dFFT ` - FFT along spatial axis * - 1 - :ref:`1dBandpass ` - * - 1 - :ref:`3dPeriodogram ` - * - 1 - :ref:`stimband ` - Dset histograms ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 3 - :ref:`3dHist ` - Compute histograms using functions for generating priors * - 1 - :ref:`3dAnhist ` - Create and plot histogram of dataset, print peaks (output is a list of peaks in the histogram, to stdout) * - 1 - :ref:`3dhistog ` - Create histogram of dataset to a file * - 1 - plugin(Histogram) - Interactively graphs histogram of a dataset (or ROI) * - 1 - plugin(ScatterPlot) - Interactively graphs 1 sub-brick vs. another (or ROI) Download/install demos ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 4 - :ref:`@Install_D99_macaque ` - Install Saleem D99 macaque atlas and template * - 4 - :ref:`@Install_DBSproc ` - Install DBS processing pipeline script * - 4 - :ref:`@Install_FATCAT_DEMO2 ` - Install newer FATCAT Demo for DTI processing with fat_proc programs (and including TORTOISE and FreeSurfer processing) * - 3 - :ref:`@Install_IBT_DATASETS ` - Install India Brain Templates (IBTs) and atlases (IBTAs), reference volumes across most of human life span for Indian population studies * - 3 - :ref:`@Install_FATCAT_DEMO ` - Install original FATCAT Demo for DTI + some FMRI processing * - 3 - :ref:`@Install_FATMVM_DEMO ` - Install FATCAT+MVM statistical modeling demo, multivariate modeling in conjuction with tractography (also applies to correlation matrices such as from 3dNetCorr) * - 3 - :ref:`@Install_MACAQUE_DEMO ` - Install processing examples for task-based FMRI of macaque data, using @animal_warper and afni_proc.py (1 subject) * - 3 - :ref:`@Install_MACAQUE_DEMO_REST ` - Install processing examples for resting state FMRI of macaque data, using @animal_warper and afni_proc.py (6 subjects) * - 3 - :ref:`@Install_NMT ` - Install NIMH Macaque Template (NMT) datasets (ver=2 is most recent) and CHARM and D99 atlases; can get both symmetric and asymmetric variants. * - 1 - :ref:`@Install_3dPFM_Demo ` - * - 1 - :ref:`@Install_AfniRetinoDemo ` - * - 1 - :ref:`@Install_ClustScat_Demo ` - * - 1 - :ref:`@Install_InstaCorr_Demo ` - Install demo data for InstaCorr, instant correlation * - 1 - :ref:`@Install_MEICA_Demo ` - Install the demo archive for P Kundu's MEICA denoising tools * - 1 - :ref:`@Install_NIH_Marmoset ` - Install NIH Marmoset atlas and template * - 1 - :ref:`@Install_RSFMRI_Motion_Group_Demo ` - * - 1 - :ref:`@Install_TSrestMovieDemo ` - DICOM info and conversion ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`Dimon ` - Read DICOM files on disk or as they are created (i.e., can monitor real-time acquisition of DICOM image files) * - 5 - :ref:`dcm2niix_afni ` - Another choice for converting DCM files (particularly useful for DWI dsets, often) * - 3 - :ref:`dicom_hinfo ` - Print out selected information from a number of DICOM headers * - 2 - :ref:`to3d ` - Read image files, write AFNI format datasets (not usually directly used) * - 2 - :ref:`from3d ` - Write dataset slices into image files * - 1 - :ref:`dicom_hdr ` - Print out information from one DICOM header * - 1 - :ref:`dicom_to_raw ` - For extracting only the binary image data from a DICOM file * - 1 - :ref:`@move.to.series.dirs ` - Partition DICOM images into run directectories * - 1 - :ref:`rtfeedme ` - Dissect one dataset, sends images to AFNI realtime plugin * - 1 - :ref:`dicom_hdr ` - Print information from a DICOM file * - 1 - Imon - (obs - use Dimon); Read GE realtime EPI files as they are created * - 1 - plugin(RT Options) - Control options for AFNI realtime image input Copy/convert/manipulate dsets ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dcopy ` - Copy a dataset to make new files * - 3 - :ref:`3dThreetoRGB ` - Convert 3 scalar datasets to 1 RGB AFNI format dataset * - 1 - :ref:`3dBRAIN_VOYAGERtoAFNI ` - * - 1 - :ref:`3dAFNIto3D ` - Read image files, write AFNI format datasets * - 1 - :ref:`3dAFNItoANALYZE ` - Convert AFNI format dataset to ANALYZE format * - 1 - :ref:`3dAFNItoNIFTI ` - * - 1 - :ref:`3dAFNItoNIML ` - * - 1 - :ref:`3dAFNItoRaw ` - * - 1 - :ref:`3dCRUISEtoAFNI ` - * - 1 - :ref:`3dPAR2AFNI.pl ` - (almost useless helpfile... obsolete???) * - 1 - :ref:`3drename ` - Rename dataset files * - 1 - :ref:`3dTwotoComplex ` - Create complex dataset from two sub-bricks * - 1 - :ref:`3dEmpty ` - Create header file only for specified dimensions * - 1 - :ref:`3dVecRGB_to_HSL ` - Convert RGB coloration to HSL values; typically intermed step in viewing prob. tracking results. * - 1 - :ref:`3dMaskToASCII ` - Changing dset spatial structure ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`3dresample ` - Rewrite dataset in new orientation, with new voxel size * - 4 - :ref:`fat_proc_axialize_anat ` - Rotate brain to have standard viewing planes along slices * - 3 - :ref:`3dLRflip ` - Flip dataset contents Left <-> Right * - 1 - :ref:`3daxialize ` - Rewrite dataset with slices in different direction Change dset temporal structure ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 1 - :ref:`3dUpsample ` - Upsample in time (to a shorter TR) Supplementary/open programs included in AFNI ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 1 - :ref:`cjpeg ` - Compress an image file to a JPEG file, with various control options for type upsampling/downsampling, etc. * - 1 - :ref:`djpeg ` - Decompress a JPEG file to an image file * - 1 - :ref:`whirlgif ` - Concatenate series of GIFs into a single one * - 1 - mpeg_encode - Convert sequence of images into MPEG movie Supplemental/underlying programs (no desc needed) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 1 - :ref:`@global_parse ` - * - 1 - :ref:`3dToyProg ` - * - 1 - :ref:`@djunct_4d_slices_to_3d_vol ` - * - 1 - :ref:`@djunct_anonymize ` - * - 1 - :ref:`@djunct_edgy_align_check ` - * - 1 - :ref:`@djunct_glue_imgs_vert ` - * - 1 - :ref:`@djunct_json_value.py ` - * - 1 - :ref:`@djunct_modal_smoothing_with_rep ` - * - 1 - :ref:`@djunct_montage_coordinator ` - * - 1 - :ref:`@djunct_slice_space ` - * - 1 - :ref:`@djunct_ssw_intermed_edge_imgs ` - * - 1 - :ref:`@djunct_vol_3slice_select ` - * - 1 - :ref:`adjunct_simplify_cost.py ` - * - 1 - :ref:`adjunct_combine_str.py ` - * - 1 - :ref:`adjunct_is_label.py ` - * - 1 - :ref:`adjunct_make_script_and_rst.py ` - * - 1 - :ref:`@suma_acknowledge ` - * - 1 - :ref:`@afni_refacer_make_master ` - * - 1 - :ref:`@afni_refacer_make_master_addendum ` - * - 1 - :ref:`@afni_refacer_make_onebigA12 ` - Simulate/generate dsets ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 1 - :ref:`3dTSgen ` - Generate 3D+time dataset from 1D model and noise; the time series for each voxel is generated according to a user specified signal+noise model. * - 1 - :ref:`3dClustSim ` - Simulate datasets and estimate statistical power * - 1 - :ref:`slow_surf_clustsim.py ` - Like 3dClustSim, but for surface data. * - 1 - :ref:`quick.alpha.vals.py ` - Companion to slow_surf_clustsim.py * - 1 - :ref:`3dConvolve ` - Simulate datasets via convolution (for testing 3dDeconvolve) * - 1 - :ref:`3dInvFMRI ` - Compute stimulus time series given activation map and 3D+time dataset * - 1 - :ref:`3dDTtoNoisyDWI ` - Make a simulated DWI set with random noise, from DT+gradient information * - 1 - :ref:`1dgenARMA11 ` - Generate synthetic ARMA(1,1) correlated time series, to test 3dREMLfit Miscellaneous visualization tools ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 3 - :ref:`aiv ` - AFNI Image Viewer program; shows 2D images from the command line in an AFNI-like image viewer, and can also read images in NIML format * - 3 - :ref:`3dGrayplot ` - Take a 3D+time dataset and make a summary 2D image for data quality review; can organize and scale in different ways * - 1 - :ref:`afni_open ` - Open various AFNI/SUMA files (\*.xmat, \*.pdf, etc.) * - 1 - plugin(Render[new]) - Interactive volume rendering * - 1 - plugin(Dataset#N) - Graph extra dataset time series in AFNI graph viewer Miscellaneous utilities ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 5 - :ref:`apsearch ` - Simple+approx string searching; used in atlases and helps * - 4 - :ref:`count ` - Generate numbered strings for command line scripts * - 4 - :ref:`afni_history ` - Display a log of updates to AFNI code * - 3 - :ref:`ccalc ` - A command line calculator (like 3dcalc) * - 3 - :ref:`cdf ` - Compute probabilities, thresholds for standard distributions * - 2 - :ref:`@xyz_to_ijk ` - Calculate (i, j, k) indices in a volume from (x, y, z) coordinates * - 1 - :ref:`byteorder ` - Report the byteorder of the current CPU * - 1 - :ref:`1dsound ` - Create an audio file from a 1D file (= columns of numbers in ASCII format); fun but not very useful Unclassed ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 1 - :ref:`1dAstrip ` - * - 1 - :ref:`@1dDiffMag ` - * - 1 - :ref:`1ddot ` - * - 1 - :ref:`1dfft ` - * - 1 - :ref:`1dFlagMotion ` - * - 1 - :ref:`1dgrayplot ` - * - 1 - :ref:`1dnorm ` - * - 1 - :ref:`@2dwarper ` - * - 1 - :ref:`@2dwarper.Allin ` - * - 1 - :ref:`2perm ` - * - 1 - :ref:`3dAcost ` - * - 1 - :ref:`3dClipLevel ` - * - 1 - :ref:`3dConformist ` - * - 1 - :ref:`3dDegreeCentrality ` - * - 1 - :ref:`3dECM ` - * - 1 - :ref:`3dEntropy ` - * - 1 - :ref:`3dGenFeatureDist ` - * - 1 - :ref:`3dGenPriors ` - * - 1 - :ref:`3dkmeans ` - * - 1 - :ref:`3dLFCD ` - * - 1 - :ref:`3dmaskSVD ` - * - 1 - :ref:`3dMSE ` - * - 1 - :ref:`3dMultiThresh ` - * - 1 - :ref:`3dnvals ` - * - 1 - :ref:`3dPolyfit ` - * - 1 - :ref:`3dretroicor ` - * - 1 - :ref:`3dSignatures ` - * - 1 - :ref:`3dSpatNorm ` - * - 1 - :ref:`3dStatClust ` - * - 1 - :ref:`3dsvm ` - * - 1 - :ref:`3dsvm_linpredict ` - * - 1 - :ref:`3dTnorm ` - * - 1 - :ref:`3dtoXdataset ` - * - 1 - :ref:`3dXClustSim ` - * - 1 - :ref:`@4Daverage ` - * - 1 - :ref:`@afni.run.me ` - * - 1 - :ref:`afni_skeleton.py ` - * - 1 - :ref:`AnalyzeTrace ` - * - 1 - :ref:`balloon ` - * - 1 - :ref:`BrainSkin ` - * - 1 - :ref:`@build_afni_Xlib ` - * - 1 - :ref:`@Center_Distance ` - * - 1 - :ref:`@CheckForAfniDset ` - * - 1 - :ref:`@clean_help_dir ` - * - 1 - :ref:`@clip_volume ` - * - 1 - :ref:`ConvexHull ` - * - 1 - :ref:`@DeblankFileNames ` - * - 1 - :ref:`@demo_prompt ` - * - 1 - :ref:`@DO.examples ` - * - 1 - :ref:`eg_main_chrono.py ` - * - 1 - :ref:`@ElectroGrid ` - * - 1 - :ref:`@escape- ` - * - 1 - :ref:`@ExamineGenFeatDists ` - * - 1 - :ref:`ExamineXmat ` - * - 1 - :ref:`@fast_roi ` - * - 1 - :ref:`@ShowDynamicRange ` - * - 1 - :ref:`fdrval ` - * - 1 - :ref:`fftest ` - * - 1 - :ref:`fim2 ` - * - 1 - :ref:`@fix_FSsphere ` - * - 1 - :ref:`@float_fix ` - * - 1 - :ref:`float_scan ` - * - 1 - :ref:`gen_epi_review.py ` - * - 1 - :ref:`@help.AFNI ` - * - 1 - :ref:`help_format ` - * - 1 - :ref:`im2niml ` - * - 1 - :ref:`images_equal ` - * - 1 - :ref:`imand ` - * - 1 - :ref:`imaver ` - * - 1 - :ref:`imcalc ` - * - 1 - :ref:`imcutup ` - * - 1 - :ref:`imdump ` - * - 1 - :ref:`immask ` - * - 1 - :ref:`imreg ` - * - 1 - :ref:`imrotate ` - * - 1 - :ref:`imstack ` - * - 1 - :ref:`imstat ` - * - 1 - :ref:`imupsam ` - * - 1 - :ref:`inspec ` - * - 1 - :ref:`@make_plug_diff ` - * - 1 - :ref:`make_pq_script.py ` - * - 1 - :ref:`mycat ` - * - 1 - :ref:`myget ` - * - 1 - :ref:`neuro_deconvolve.py ` - * - 1 - :ref:`nicat ` - * - 1 - :ref:`niccc ` - * - 1 - :ref:`niml_feedme ` - * - 1 - :ref:`niprobe ` - * - 1 - :ref:`nsize ` - * - 1 - :ref:`@Purify_1D ` - * - 1 - :ref:`python_module_test.py ` - * - 1 - :ref:`quotize ` - * - 1 - :ref:`rbox ` - * - 1 - :ref:`read_matlab_files.py ` - * - 1 - :ref:`realtime_receiver.py ` - * - 1 - :ref:`rmz ` - * - 1 - :ref:`ROIgrow ` - * - 1 - :ref:`rotcom ` - * - 1 - :ref:`SampBias ` - * - 1 - :ref:`ScaleToMap ` - * - 1 - :ref:`@ScaleVolume ` - * - 1 - :ref:`@ScriptCheck ` - * - 1 - :ref:`serial_helper ` - * - 1 - :ref:`sfim ` - * - 1 - :ref:`@simulate_motion ` - * - 1 - :ref:`@SkullStrip_TouchUp ` - * - 1 - :ref:`SpharmDeco ` - * - 1 - :ref:`SpharmReco ` - * - 1 - :ref:`@Spharm.examples ` - * - 1 - :ref:`@statauxcode ` - * - 1 - :ref:`@T1scale ` - * - 1 - :ref:`tfim ` - * - 1 - :ref:`@TimeDiff ` - * - 1 - :ref:`tokens ` - * - 1 - :ref:`uber_skel.py ` - * - 1 - :ref:`uber_ttest.py ` - * - 1 - :ref:`uniq_images ` - * - 1 - :ref:`@VolCenter ` - * - 1 - :ref:`xmat_tool.py ` - * - 1 - :ref:`@Reorder ` - * - 1 - :ref:`@RenamePanga ` - * - 1 - :ref:`3dRetinoPhase ` - * - 1 - :ref:`@ANATICOR ` - * - 1 - :ref:`@RetinoProc ` - * - 1 - qdelaunay - * - 1 - qhull - Retired (no longer in the build) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 0 - 3dAFNItoMINC - Convert AFNI format dataset to MINC format (MINC now extinct) * - 0 - 3dMINCtoAFNI - Convert MINC format dataset to AFNI format (MINC now extinct) * - 0 - AlphaSim - (obsolete -> used 3dClustSim) * - 0 - 3dFWHM - (obsolete -> use 3dFWHMx) * - 0 - 3dMax - (obsolete -> use 3dBrickStat) * - 0 - @auto_align - (obsolete -> use align_epi_anat.py or 3dAllineate) * - 0 - @UpdateAfni - (obsolete -> use @update.afni.binaries) * - 0 - 3dANALYZEtoAFNI - (obsolete -> use 3dcopy or to3d) * - 0 - Dimon1 - (obsolete -> use Dimon) * - 0 - 3dCountSpikes - (obsolete -> use 3dToutcount) * - 0 - 3dfim - (obsolete -> use 3dDeconvolve) * - 0 - 3dUniformize - (obsolete -> use 3dUnifize) * - 0 - @DTI_studio_reposition - (probably obsolete) * - 0 - @make_stim_file - (obsolete -> use timing_tool.py) * - 0 - 3dICC_REML.R - (obsolete -> use 3dICC) * - 0 - 3dAOV.R - (obsolete -> use 3dMVM) * - 0 - lpc_align.py - (obsolete -> use align_epi_anat.py or 3dAllineate) * - 0 - afni_restproc.py - (obsolete -> use afni_proc.py) * - 0 - @snapshot_volreg3 - (obsolete -> use @snapshot_volreg) * - 0 - 1dDW_Grad_o_Mat - (obsolete -> use 1dDW_Grad_o_Mat++) * - 0 - 3dProbTrackID - (obsolete -> use 3dTrackID) * - 0 - 3dFourier - (obsolete -> use 3dBandpass) * - 0 - 3dttest - (obsolete -> use 3dttest++; for "3dttest -base .." functionality, use "3dttest++ -singletonA ..") * - 0 - 3dAnatNudge - (obsolete -> use align_epi_anat.py, 3dAllineate or Nudge plugin) * - 0 - 3ddup - (obsolete -> use 3dcopy or something else to make new dset) * - 0 - 3dDeconvolve_f - (obsolete -> use 3dDeconvolve) * - 0 - DoPerRoi.py - * - 0 - 3dbuc2fim - * - 0 - 3dnoise - * - 0 - 3dproject - * - 0 - 3dWavelets - * - 0 - abut - Create zero-filled slices to put into dataset gaps * - 0 - ent16 - * - 0 - ftosh - * - 0 - ge_header - Print information from a GE I. file * - 0 - Ifile - Read GE realtime EPI files and runs to3d * - 0 - check_dset_for_fs.py - not needed * - 0 - mayo_analyze - Print information from an ANALYZE .hdr file * - 0 - mritopgm - * - 0 - siemens_vision - Print information from a Siemens Vision .ima file * - 0 - sqwave - Generate a square wave (a very old program) * - 0 - Xphace - * - 0 - FD2 - * - 0 - fat_lat_csv.py - Make latent variables for CSV file data using factor analysis; esp for fat_mvm\* usage * - 0 - fat_mvm_review.py - (only beta) * - 0 - fat_proc_grad_plot - (to be) replaced by newer version R programs (written in R; called by other programss) ============================================================================ .. list-table:: :header-rows: 0 :widths: 5 20 70 :width: 100 * - 0 - 1dGC.R - * - 0 - 1dRplot - * - 0 - 1dRplot.R - * - 0 - 1dSVAR.R - * - 0 - 3dGC.R - * - 0 - 3dICA.R - * - 0 - 3dICC.R - * - 0 - 3dKS.R - * - 0 - 3dMEMA.R - * - 0 - 3dPFM.R - * - 0 - 3dRowFillin - * - 0 - 3dRprogDemo - * - 0 - 3dRprogDemo.R - * - 0 - 3dSignatures.R - * - 0 - AFNI_Batch_R - * - 0 - AFNIplot.R - * - 0 - afni_run_R - * - 0 - ExamineXmat.R - * - 0 - FIRdesign - * - 0 - Level2.R - * - 0 - @R_funclist - * - 0 - Signatures.R - * - 0 - smooth.R -