Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 6.17 KB

get_started_afni.md

File metadata and controls

74 lines (55 loc) · 6.17 KB

How to: Get started with AFNI

AFNI (Analysis of Functional NeuroImages) is a software suite developed by the Statistical and Scientific Computing Core at the NIMH. It is freely available and can be run on MacOS and Linux systems. Given its flexibility, utility, amazing color scheme, and the fact that the developers are right down the hall, many members of SFIM opt to use AFNI to analyze their fMRI data. This page has instructions on how to get AFNI set up on your laptop and some helpful tips and tricks for using it.

Installing AFNI

Because you will not have admin priviledges on your laptop when you first get it, the first step is to install the AFNI dependencies via the NIMH Self-Service portal. This will require your PIV card.

After that, you can use the following commands to get a download script:

cd
curl -O https://raw.githubusercontent.com/afni/afni/master/src/other_builds/OS_notes.macos_12_ARM_b_user.tcsh

Then, you can use the following command to install AFNI:

tcsh OS_notes.macos_12_ARM_b_user.tcsh

For additional details, the AFNI team has put together a page with instructions. You may wish to follow the instructions on how to set up for AFNI Bootcamp.

Learning to use AFNI

AFNI is fast, powerful, and flexible. It was designed from the beginning to [keep users close to their data]. The flip side of this is that there's always more to learn and it can be a bit overwhelming to someone who is new to fMRI data analysis. It takes time and practice to learn, but because it can keep you close to your data, you'll have the opportunity to really understand what is happening during data processing.

At least once a year, the AFNI team puts on AFNI Bootcamp. This is a week long immersive course where you can learn all about how to use AFNI, and we recommend attending when it comes around. The AFNI team also put together AFNI Academy on Youtube, which is basically an expanded version of the Bootcamp lectures, which you can watch to learn more about what you can do in AFNI at your own pace. You will learn a lot if you attend the bootcamp knowing nothing about AFNI, but you'll learn more if you've been using AFNI for a few months, watch some of the videos, had have a rough idea of what's possible in AFNI.

If you're a person who prefers to read tutorials rather than watch videos, you can also look at the handouts from AFNI Bootcamp, follow the many AFNI tutorials, or check out publications that have used AFNI for their analyses. If you have specific questions that aren't covered in any of the above resources, you can check out the AFNI Message Board to see if anyone has had similar issues. If you want to stray from the offical AFNI material, you can also check out the AFNI section in Andy's Brain Book.

Common Tasks

Below are links to some tutorials and documentation that you might find useful as you use AFNI.

Help, I'm still confused

For as much as we love AFNI, there can be a steep learning curve for it, especially if you have limited experience working on the command line, don't know a ton about fMRI, haven't encountered much applied statistics, or any combination of the above. To that end, here are some more basic resources to help you get familizarized with using AFNI.