Table of Contents

neuroelf_makefiles

Motivation

To visualize “standard space” (MNI/ICBM space) data with NeuroElf, it is often helpful to have a standardized dataset for underlay (anatomical data and surface files). Instead of bundling these files into the installation (which would require several hundreds of megabytes, even in compressed form), NeuroElf comes with functions to create these files out of a set of source files which come bundled with NeuroElf (and only require about 30 megabytes of uncompressed space). Alternatively, the files created by this function can be downloaded as a separate ZIP file that needs to be unpacked into the _files/colin sub-folder.

Requirements

A functional installation of NeuroElf.

Function reference ('help neuroelf_makefiles')

   neuroelf_makefiles  - create additional files for NeuroElf's GUI
 
  FORMAT:       neuroelf_makefiles([opts])
 
  Input fields:
 
        opts        optional settings
         .bmaskvmr  also create brain-masked versions of VMRs (true)
         .bvsph     create BV-compatible SPH files of colin (true)
         .flatmaps  create flatmap SRF files (false)
         .hiresseg  create 0.5mm segmentation VMRs of colin brain (false)
         .hiressph  create 0.5mm segmentation-based SPH files (true)
         .hiressrf  create 0.5mm resolution-based SRF files (true)
         .hiressrfb create backprojection VMR files from hires SRFs (false)
         .hiresvmr  create 0.5mm resolution VMR of colin brain (false)
         .icbmimg   also create ICBM-norm version of colin.img (true)
         .icbmsph   also create ICBM-norm versions of SPH files (true)
         .icbmsrf   also create ICBM-norm versions of SRF files (true)
         .icbmvmr   also create ICBM-norm versions of VMR files (true)
         .recreate  delete all files and start anew (false)
         .wmaskvmr  also create (anti-)WM-masked brain VMRs (false)
 
  No output fields.

Usage examples

To create the files used most, simply call the function without arguments:

To create all files, set the flags that default to false to true:

List of files created

All files will be created in the _files/colin sub-folder.