Giter Site home page Giter Site logo

ljhao303 / afni Goto Github PK

View Code? Open in Web Editor NEW

This project forked from afni/afni

0.0 0.0 0.0 138.73 MB

Official AFNI source and documentation

Home Page: http://afni.nimh.nih.gov/afni

C 80.38% Shell 4.18% Makefile 0.48% C++ 1.27% Perl 0.03% R 2.03% HTML 0.17% TeX 0.34% Fortran 0.43% Stata 0.01% PostScript 0.19% Clean 0.01% Io 0.01% CMake 0.34% SAS 0.02% Smalltalk 0.01% Assembly 0.02% MATLAB 1.14% Tcl 0.01% Python 8.96%

afni's Introduction

What the H*** is AFNI?

https://travis-ci.org/afni/afni.svg?branch=master https://circleci.com/gh/afni/afni/tree/master.svg?style=shield

AFNI (Analysis of Functional NeuroImages) is a suite of programs for looking at and analyzing MRI brain images. It comprises a suite of C, Python, R programs and shell scripts primarily developed for the analysis and display of multiple MRI modalities: anatomical, functional MRI (FMRI) and diffusion weighted (DW) data. It has graphical displays for both slice-wise and surface-based viewing.

Please visit these websites for more information:

For questions on using AFNI programs, our Message Board is here:

AFNI code directory

Currently top directory contains three sub-directories

doc/
documentation for AFNI (though this is outdated; current doc content resides in its own git tree here: https://github.com/afni/afni_doc)
src/
source code for AFNI
tests/
tests for AFNI

Relevant git-ology for AFNI

First time stuff

  1. Make yourself known to git-land:

    git config --global user.name   "Fred Mertz"
    git config --global user.email  [email protected]
    git config --global core.editor vim
    
  2. Create a copy of the repository on your machine:

    git clone https://github.com/afni/afni.git
    

Stuff to do as needed

  • Getting updates from the repository:

    git pull origin master
    
  • Seeing what changes you have made locally:

    git status
    
  • To commit some files to your LOCAL repository (preferred):

    git commit -m "PLEASE comment"   FILE1 FILE2 ...
    
  • To commit all tracked files with changes (locally):

    git commit -a -m "PLEASE try to put a comment here"
    
  • If you have new files to add into the repository; PLEASE PLEASE PLEASE, be careful with wildcards!!! The main thing is to avoid adding very large files (such as binaries) by mistake!:

    git add -f FILE1 FILE2 ...
    
  • Sending the local updates to the master (github.com) repository

    git push origin master

Compilation of AFNI

In src/, you need to choose one of the Makefile.* files that is closest to your system, and cp it to be named Makefile. Makefile is set up to install into the INSTALLDIR location, defined in that file -- you should probably change that to be appropriate for your use.

If you are using Mac OS X, choose one of the Makefile.macosx_* files.

For later versions of Mac OS X, Apple's C compiler does not support OpenMP, so we recommend downloading and installing a version of gcc from http://hpc.sourceforge.net/ or purchasing a commercial C compiler (e.g., Intel's icc) that does support OpenMP. Several important programs in the AFNI suite are parallelized via OpenMP, and will run much faster if compiled appropriately.

If you are using Linux, try Makefile.linux_openmp_64 first.

To make and install everything do:

make vastness

The command:

make cleanest

will remove all the *.o files, etc.

afni's People

Contributors

afni-rickr avatar afni-rwcox avatar mrneont avatar afnihq avatar leej3 avatar afni-dglen avatar afni-gangc avatar afni-ziad avatar discoraj avatar nno avatar pn2200 avatar afni-discoraj avatar ccraddock avatar shotgunosine avatar yarikoptic avatar pintohutch avatar rmarkello avatar pmolfese avatar roopchansinghv avatar ischwabacher avatar cesarcaballerogaudes avatar jlisinski avatar imnotamember avatar eurunuela avatar effigies avatar afni-laurenpd avatar zsaad avatar bencephalon avatar xeniosp avatar pantaray avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.