Differences between revisions 12 and 31 (spanning 19 versions)
Revision 12 as of 2014-07-31 09:29:33
Size: 2963
Comment:
Revision 31 as of 2015-11-26 10:16:46
Size: 3754
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

== Checking out the new BBCI GIT ==

=== Linux ===
==== Cloning for the first time: ====

{{{#!bash
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:

{{{#!bash
cd ~/git
git clone git://github.com/venthur/pyff pyff
}}}

==== Pulling the latest version: ====

{{{#!bash
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:

{{{#!bash
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:
{{{#!matlab
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. <<BR>>
For a complete setup you should add something like the following to your local `startup.m`:
{{{#!matlab
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;
}}}
Line 42: Line 119:
{{{
Line 43: Line 121:
Line 45: Line 122:
Line 47: Line 123:
Line 49: Line 124:
Line 51: Line 125:
}}}
Line 53: Line 128:
{{{
Line 55: Line 130:
Line 57: Line 131:

and:
}}}
and
{{{
Line 61: Line 135:
Line 63: Line 136:

== Checking out the new BBCI GIT ==

=== Linux ===

{{{#!bash
mkdir ~/git
cd ~/git
git pull https://repo.ml.tu-berlin.de/git/bbci/public bbci_public
git pull https://repo.ml.tu-berlin.de/git/bbci/private bbci_private
Line 74: Line 137:

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

{{{#!bash
cd ~/g
it
gi
t pull git://github.com/venthur/pyff pyff
and if you plan to work with Stimulus Presentation or Feedbacks, you need also to install Pyff:
{{{
"URL of repo
sitory": https://svn.github.com/venthur/pyff
"Checkout
Directory": (D:\)svn\pyff
Line 81: Line 142:

=== Windows ===
using GIT bash: same commands as LINUX!

using GIT GUI:

--> "clone existing repository" ("Projektarchiv klonen")
"Source lcoation": 'https://repo.ml.tu-berlin.de/git/bbci/public'
"Target Directory": (D:\)git\bbci_public
choose "full copy"

--> "clone existing repository" ("Projektarchiv klonen")
"Source lcoation": https://repo.ml.tu-berlin.de/git/bbci/private
"Target Directory": (D:\)git\bbci_private
choose "full copy"

== Starting the old Toolbox ==

To start the toolbox in Matlab do:
{{{#!matlab
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. <<BR>>
For a complete setup you should add something like the following to your local `startup.m`:
{{{#!matlab
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;
}}}


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)