Structural Neuroimaging With OS X

Main menu

Skip to content
  • About Me
  • Contact Me
  • Contribute a post to this site!

Tag Archives: Bash

Brain Template Creation with ANTs

February 10, 2015

These instructions use FA images to create an FA template using the software package ANTs (http://stnava.github.io/ANTs/); the process should work well with other image modalities. First we can use FLIRT to register a group of 4 brains (semi-randomly chosen by looking … Continue reading →

Posted in Bash, Conversions, FSL, NIfTI | Replies: 3

Using awk to truncate text files

November 4, 2011

With neuroimaging analyses we deal with a lot of text files. These are often the result of program or scripts running on the MRI data; they can be statistics, volumes, error logs, or any number of other outputs. Let’s say … Continue reading →

Posted in Bash | Reply

A Great Resource for Advanced Bash Scripting

April 15, 2011

I’ve written about shell scripting before (see here and here). Scripting is necessary for efficient neuroimage processing. At the very least, it can provide a way to keep track of how you did something. While there are a number of … Continue reading →

Posted in Bash | Reply

Bash For Loops (Plus a Little Scripting)

September 24, 2010

I’ve written about Bash scripting previously, as it applies to neuroimaging. Scripting is extremely useful; it can save hours worth of work. But what if you want to do something that is repetitive but do not really need to create … Continue reading →

Posted in Bash | Replies: 1

Bash Scripting for Neuroimaging

August 4, 2010

You can skip this first paragraph if you do not want to read a personal aside. One useful thing about becoming familiar with the command line interface (Terminal in OS X) is that a little scripting can save you days … Continue reading →

Posted in Bash | Replies: 2

Setting Up a Bash Profile and Aliasing a Program

May 14, 2010

Understanding the bash environment and simple bash scripting can really speed up your neuroimaging work. While I am not an expert in scripting, I have learned a few tricks that can make life easier. If you are interested in learning … Continue reading →

Posted in Bash | Replies: 11

Tag Cloud

alias ANTS aseg awk Bash bash_profile bbregister converting CPU critical thinking critique dcn2nii debian dicom diffusion fiber tracking flirt fnirt FreeSurfer fsl fslmaths FSLView iMac ITK-SNAP labels linux Mac Pro mri mri_annotation2label mri_label2vol mrtrix neuroimaging neuroscience os x processing RAM registration rois science scripting TBSS template text tkregister2 video

Recent Posts

  • GitHub
  • When not to mix results from FreeSurfer and FSL
  • Brain Template Creation with ANTs
  • Introduction to MRtrix 3
  • FSL Version 5 in Mountain Lion
  • Using awk to truncate text files
  • Using FreeSurfer’s bbregister for Image Registration
  • NeuroDebian
  • A Great Resource for Advanced Bash Scripting
  • How much computer do you need for MRI processing?
  • Pitfalls in Analyzing Diffusion Data
  • The Art of Neuroimaging
  • FreeSurfer Tools for Mask Manipulation
  • Bash For Loops (Plus a Little Scripting)
  • An Introduction to the Cingulum
Powered by WordPress and Foghorn