You can find several scripts and C++ programs on the BrainVoyager 2000
CD. These samples are briefly described below and might serve as the starting
point for your own scripts and programs. Most scripts require data sets
which should be present within the same folder. To allow running the scripts
successfully from any folder, pathes are not coded in a fixed manner but
relative with respect to the folder where the script itself resides. Therefore
in most scripts the function GetScriptPath() is defined ensuring that
the folder where the script resides is used as the default path.
Some scripts also use the "WshShell" object, for example to use
the "Popup method" which allows to present message boxes to
the user for a certain amount of time. Details of the "WshShell"
object as well as other useful Windows objects (i.e. WshNetwork, WshSpecialFolders),
see the file WshObj.doc on the
BrainVoyager CD which is part of Microsoft's documentation of the Windows
Script Host.
Script / C++ program |
Location |
Short description |
|
|
|
GetScriptPath.vbs |
<SampleData> |
Shows how to obtain the path to the folder of the launched script. The described approach is used in most subsequent scripts encapsulated in the function GetScriptPath() |
|
|
|
LoadDoc.vbs |
<SampleData>\ObjectsAnalyzed |
This script is similar to the simple script described earlier. It shows how to access the BrainVoyager COM server, how to open a document and how to access document methods. |
|
|
|
LoadDocRemote.vbs |
<SampleData> |
Same as above but launches BrainVoyager on a remote computer |
|
|
|
CycleThroughDocuments.vbs |
<SampleData>\ObjectsAnalyzed |
Shows how to access all documents currently existing in BrainVoyager. Load some douments before calling this script. For details, see Documents property. |
|
|
|
NewWindowPosSize.vbs |
<SampleData> |
Change the position and size of the BrainVoyager window |
|
|
|
DynamicThreshold.vbs |
<SampleData>\ObjectsAnalyzed |
Dynamically thresholding a statistical map |
|
|
|
DemoGLM.vbs |
<SampleData>\ObjectsAnalyzed |
Loads a GLM file and shows statistical maps; it also shows how you can produce simple explanatory demos of your data. |
|
|
|
TimeCourses.vbs |
<SampleData>\ObjectsAnalyzed |
Invokes and manipulates ROI Time Course windows. |
|
|
|
EventRelatedAveraging.vbs |
<SampleData>\ObjectsAnalyzed |
Invokes and manipulates an AVG window. |
|
|
|
Meshes.vbs |
<SampleData>\VolumesAndMeshes |
Shows and animates head and cortex meshes |
|
|
|
CheckOpenGLSpeed.vbs |
<SampleData>\VolumesAndMeshes |
Loads meshes, animates them and measures the speed of OpenGL rendering. |
|
|
|
OpenGLRecordMovie.vbs |
<SampleData>\VolumesAndMeshes |
Based on script above and shows in addition how animations can be recorded and stored in a AVI movie file. |
|
|
|
ReconstructHead.vbs |
<SampleData>\VolumesAndMeshes |
Reconstructs a skin mesh by iterative morphing |
|
|
|
ReconstructCortex.vbs |
<SampleData>\VolumesAndMeshes |
Reconstructs cortex mesh of a segmented hemisphere and shows mesh smoothing and cortex inflation. |
|
|
|
CreateProjects.vbs |
<SampleData>\ObjectsRawData |
Creates all types of projects, creates VTC files and preprocesses data. Run this script on your hard disk to produce useful files for further processing. |
|
|
|
PreprocessSubjects.vbs |
<SampleData> |
Similar as the script above but can run across many subjects and runs. The script can not be run on the data provided with BrainVoyager. Use this script as a template for batch processing. |
|
|
|
BrainVoyagerDemoClient.cpp |
|
The described simple C++ program |
|
|
|
BrainVoyagerEasyClient.cpp |
|
The described easy C++ program |
|
|
|