Batch Files

 

Neuro-scan has a batch file language which allows you to run multiple analyses automatically. The language is easy to learn, and will make your analysis go much faster (and make your life much easier). The batch file below does a stimulus locked epoch, a response locked epoch, baseline corrects and artifact rejects both epoch files, and develops 12 average files. Also, it includes a loop that allows it to run this analysis on multiple subjects.

It took 45 minutes for neuroscan to run the analysis on 16 subjects versus several days if I had done it manually

Basically to develop a batch file, you can take the file we wrote and modify it to fit your experiment. There are variables for the paths of each type of file, and for the filenames. The batch file creates several "sort" files which tell neuroscan how to epoch and/or average the trials. You will need to modify the file names, paths, and the sort criteria.

 

Batch files can also be used to create .dat files for average files and .EEG files. There is a manual of Batch commands in the lab.

Click here for a sample batch file from one of our experiments

Run Batch File