IDA Wiki


Documentation: Setting up and Starting the Toolbox


IN CONSTRUCTION


Checking out the new BBCI GIT

Linux

Cloning for the first time:

mkdir ~/git
cd ~/git
git clone https://github.com/bbci/bbci_public
git clone https://repo.ml.tu-berlin.de/git/bbci/private bbci_private

If you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff:

cd ~/git
git clone git://github.com/venthur/pyff pyff

Pulling the latest version:

cd ~/git
git pull https://github.com/bbci/bbci_public
git pull https://repo.ml.tu-berlin.de/git/bbci/private bbci_private

If you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff:

cd ~/git
git pull git://github.com/venthur/pyff pyff

Windows

using GIT bash: same commands as LINUX (see above)!

using GIT GUI:

--> "clone existing repository" ("Projektarchiv klonen")
"Source lcoation": https://github.com/bbci/bbci_public
"Target Directory": (D:\)git\bbci_public
choose "full copy"
--> enter your username and password in the next dialog

similarly with

"Source lcoation": https://repo.ml.tu-berlin.de/git/bbci/private
"Target Directory": (D:\)git\bbci_private

and if you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff:

"Source lcoation": git://github.com/venthur/pyff 
"Target Directory": (D:\)git\pyff

Starting the old Toolbox

To start the toolbox in Matlab do:

cd('~/svn/ida/public/bbci/toolbox/startup');
startup_bbci;

Furthermore, you should specify, where the EEG files are located. The convention for the toolbox is that there is one data folder (on the cluster it is /home/bbci/data/) which has the subfolders bbciRaw and bbciMat. When relative file name are used, the functions eegfile_loadBV and eegfile_loadMatlab would look in those folders.
For a complete setup you should add something like the following to your local startup.m:

global DATA_DIR BBCI_PRINTER
DATA_DIR='/home/bbci/data/';
BBCI_PRINTER= 1;
cd('~/svn/ida/public/bbci/toolbox/startup');
startup_bbci;
set_general_port_fields('localhost');
setup_bbci_online;

Checking out the BBCI SVN

Linux

mkdir ~/svn
cd ~/svn
svn checkout --username UserName https://repo.ml.tu-berlin.de/svn/ida/public/bbci bbci
svn checkout --username UserName https://repo.ml.tu-berlin.de/svn/ida/public/bbci_tex bbci_tex
svn checkout --username UserName https://repo.ml.tu-berlin.de/svn/ida/public/texmf texmf
cd ~
ln -s svn/texmf .

If you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff.

cd ~/svn
git pull git://github.com/venthur/pyff

or

cd ~/svn
svn checkout https://svn.github.com/venthur/pyff

Windows

--> right click in the target directory
--> choose "svn checkout" from the context menu
"URL of repository": https://repo.ml.tu-berlin.de/svn/ida/public/bbci
"Checkout Directory": (D:\)svn\bbci
--> enter your username and password in the next dialog

similarly with:

"URL of repository": https://repo.ml.tu-berlin.de/svn/ida/public/bbci_tex
"Checkout Directory": (D:\)svn\bbci_tex

and

"URL of repository": https://repo.ml.tu-berlin.de/svn/ida/public/texmf
"Checkout Directory": (D:\)svn\texmf

and if you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff:

"URL of repository": https://svn.github.com/venthur/pyff
"Checkout Directory": (D:\)svn\pyff

IDA Wiki: IDA/BerlinBCI/ToolBox/ToolboxSetup (last edited 2015-11-26 10:16:46 by DanielMiklody)