• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.circleci/H28-Dec-2021-566527

.docker/H28-Dec-2021-863687

.githooks/H28-Dec-2021-177117

cmake/H28-Dec-2021-2,2711,883

doc/H03-May-2022-17,26114,519

packaging/H03-May-2022-213164

src/H03-May-2022-2,419,4811,800,023

tests/H03-May-2022-7,8675,976

.dockerignoreH A D28-Dec-2021116 88

.gitignoreH A D28-Dec-2021670 7159

.gitmodulesH A D28-Dec-2021123 43

.travis.ymlH A D28-Dec-2021702 2725

CMakeCPack.cmakeH A D28-Dec-20215.1 KiB169148

README.rstH A D28-Dec-20213.4 KiB11673

README.rst

1What the H*** is AFNI?
2----------------------
3
4.. image:: https://travis-ci.org/afni/afni.svg?branch=master
5    :target: https://travis-ci.org/afni/afni
6
7.. image:: https://circleci.com/gh/afni/afni/tree/master.svg?style=shield
8    :target: https://circleci.com/gh/afni/afni/tree/master
9
10.. image:: https://codecov.io/gh/afni/afni/branch/master/graph/badge.svg
11    :target: https://codecov.io/gh/afni/afni
12
13
14AFNI (Analysis of Functional NeuroImages) is a suite of programs for looking at and analyzing MRI brain
15images.  It comprises a suite of C, Python, R programs and shell scripts primarily developed for the
16analysis and display of multiple MRI modalities: anatomical, functional MRI (FMRI) and diffusion
17weighted (DW) data.  It has graphical displays for both slice-wise and surface-based viewing.
18
19| Please visit these websites for more information:
20| https://afni.nimh.nih.gov/
21| https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/
22
23|
24
25| For questions on using AFNI programs, our Message Board is here:
26| https://afni.nimh.nih.gov/afni/community/board/list.php?1 .
27
28
29AFNI code directory
30-------------------
31
32Currently top directory contains three sub-directories
33
34doc/
35    documentation for AFNI (though this is outdated; current doc content resides in its own git tree here: https://github.com/afni/afni_doc)
36src/
37    source code for AFNI
38tests/
39    tests for AFNI
40
41Relevant git-ology for AFNI
42---------------------------
43
44First time stuff
45~~~~~~~~~~~~~~~~
46
471. Make yourself known to git-land::
48
49    git config --global user.name   "Fred Mertz"
50    git config --global user.email  mertzf@bargle.argle
51    git config --global core.editor vim
52
532. Create a copy of the repository on your machine::
54
55    git clone https://github.com/afni/afni.git
56
57Stuff to do as needed
58~~~~~~~~~~~~~~~~~~~~~
59
60- Getting updates from the repository::
61
62    git pull origin master
63
64- Seeing what changes you have made locally::
65
66    git status
67
68- To commit some files to your LOCAL repository (preferred)::
69
70    git commit -m "PLEASE comment"   FILE1 FILE2 ...
71
72- To commit all tracked files with changes (locally)::
73
74    git commit -a -m "PLEASE try to put a comment here"
75
76- If you have new files to add into the repository;
77  **PLEASE PLEASE PLEASE, be careful with wildcards!!!**
78  The main thing is to avoid adding very large files (such as binaries)
79  by mistake!::
80
81    git add -f FILE1 FILE2 ...
82
83- Sending the local updates to the master (github.com) repository
84
85    git push origin master
86
87
88Compilation of AFNI
89-------------------
90
91In src/, you need to choose one of the Makefile.* files that is closest
92to your system, and cp it to be named Makefile.  Makefile is set up to
93install into the INSTALLDIR location, defined in that file -- you should
94probably change that to be appropriate for your use.
95
96If you are using Mac OS X, choose one of the Makefile.macosx_* files.
97
98  For later versions of Mac OS X, Apple's C compiler does not support
99  OpenMP, so we recommend downloading and installing a version of gcc
100  from http://hpc.sourceforge.net/ or purchasing a commercial C compiler
101  (e.g., Intel's icc) that does support OpenMP.  Several important
102  programs in the AFNI suite are parallelized via OpenMP, and will run
103  much faster if compiled appropriately.
104
105If you are using Linux, try Makefile.linux_openmp_64 first.
106
107To make and install everything do::
108
109    make vastness
110
111The command::
112
113    make cleanest
114
115will remove all the *.o files, etc.
116