This is an old revision of the document!
Table of Contents
NeuroElf - loading anatomical and functional data
Motivation
This is the initial step when looking at your own dataset, and thus you should try to become acquainted with NeuroElf's interface. There are several ways to load and access files from disk, which will be discussed on this page.
UI-based loading
Given that the file input/output functionality is centralized in one class (function), xff, NeuroElf only requires one menu entry to load the several types of files that are supported:
- anatomical file types
- VMR (BrainVoyager QX's VMR format, which is the default for NeuroElf)
- HDR or NII (Analyze HDR+IMG header or NIftI files)
- HEAD (AFNI's HEAD/BRIK format)
- anatomical surface file types
- SRF (BrainVoyager QX's surface format, currently the only supported format)
- functional file types
- statistical file types
- VMP (BrainVoyager QX's volumetric map format, which is the default for NeuroElf)
- HDR or NII (Analyze HDR+IMG header of NIftI files with special SPM-like description)
- HEAD (AFNI's HEAD/BRIK format, if HEAD indicates statistical content)
- GLM (BrainVoyager QX's format for general-linear-model results)
- surface statistical file formats
- SMP (BrainVoyager QX's surface-based map format, currently the only supported format)
The default behavior in NeuroElf is to show all supported file types, when the File → Open file dialog is invoked. If the filetype selection is changed, this setting is retained for subsequent file opening requests.
Script-based loading
In addition to loading files via the GUI, any object that has been either loaded (e.g. by passing a filename or a filename pattern to xff) or created and correctly populated (by using the 'object = xff('new:type');
' syntax, followed by making the appropriate settings) can be added to the GUI's control by using the .Browse
method as seen in the following syntax example:
- gui_object_browse.m
% load object vmp = xff('*.vmp', 'Please select a VMP to display...'); if isxff(vmp, 'vmp') vmp.Browse; end