Doing post processing analysis in Brainvision Actichamp EEG data

654 views
Skip to first unread message

Sagar Chandola

unread,
Feb 17, 2016, 7:17:42 AM2/17/16
to psychopy-users
Hello All,

I am trying to do some post processing for Brainvision EEG data.

File formats outputted by the device are .eeg, .vhdr, .avg and .vmrk during recording.

I am not using the Brain Products analyzer software and want to do this via a 3rd party software. Trying a combination of EEGlab, BCIlab, Matlab and Brainstorm.

Face the following issues:

  • Cant't load .avg file in Matlab
  • After loading .eeg file in EEGLab software cannot visualize the data
  • After loading .eeg file in Brainstorm,  not able to see the markers


My top priority is to be able to open the 2 files .avg file and .eeg file.

3rd party software involved in post processing is irrelevant. I will prefer a matlab based solution, but a python based solution(which involved Psychopy) is also good.

Please guide best how to open the files best for post processing in this scenario.


Jeremy Gray

unread,
Feb 17, 2016, 7:39:27 AM2/17/16
to psychop...@googlegroups.com
Hi Sagar,

Someone on this list may be able to help (I cannot). Questions about post-processing EEG data are not PsychoPy questions at all. And if you prefer a matlab solution over python, I think you'll have better luck elsewhere, like a matlab forum.

Using the Brain Products analyzer software might be the best and easiest solution. Why not use it? To develop your own custom solution, you'll need to know how the data are stored in the files. If you don't know that, you'll need to ask the company, reverse engineer it yourself, or hire someone to do it for you.

--Jeremy


--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/df19249d-884d-4917-bc68-0f1f0e3ed9a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sagar Chandola

unread,
Feb 17, 2016, 8:26:19 AM2/17/16
to psychopy-users
Hi Jeremy,

Thanks for the reply. 
If I can put it in a nutshell, we have run out of funds to buy an Analyzer software independently.

We have the Brainvision Actichamp device and the recorder software and want to find a solution of how to make use of the collected data properly.

I was just wondering if Psychopy had any additional features too.

A python based solution works great! 

Look forward to help on this.

On Wednesday, February 17, 2016 at 6:09:27 PM UTC+5:30, Jeremy wrote:
Hi Sagar,

Someone on this list may be able to help (I cannot). Questions about post-processing EEG data are not PsychoPy questions at all. And if you prefer a matlab solution over python, I think you'll have better luck elsewhere, like a matlab forum.

Using the Brain Products analyzer software might be the best and easiest solution. Why not use it? To develop your own custom solution, you'll need to know how the data are stored in the files. If you don't know that, you'll need to ask the company, reverse engineer it yourself, or hire someone to do it for you.

--Jeremy


On Wed, Feb 17, 2016 at 7:17 AM, Sagar Chandola <sagarch...@gmail.com> wrote:
Hello All,

I am trying to do some post processing for Brainvision EEG data.

File formats outputted by the device are .eeg, .vhdr, .avg and .vmrk during recording.

I am not using the Brain Products analyzer software and want to do this via a 3rd party software. Trying a combination of EEGlab, BCIlab, Matlab and Brainstorm.

Face the following issues:

  • Cant't load .avg file in Matlab
  • After loading .eeg file in EEGLab software cannot visualize the data
  • After loading .eeg file in Brainstorm,  not able to see the markers


My top priority is to be able to open the 2 files .avg file and .eeg file.

3rd party software involved in post processing is irrelevant. I will prefer a matlab based solution, but a python based solution(which involves Psychopy) is also good.

Please guide best how to open the files best for post processing in this scenario.


Jeremy Gray

unread,
Feb 17, 2016, 8:49:47 AM2/17/16
to psychop...@googlegroups.com
I am sure that this can be done in python (or matlab and many other languages), for which you'll need to know the data format that is used within the file. 

I am also sure that this will be far too specialized to ever be supported as part of PsychoPy itself. 

--Jeremy

Richard Höchenberger

unread,
Feb 17, 2016, 8:52:05 AM2/17/16
to psychop...@googlegroups.com
Hello Sagar,

On Wed, Feb 17, 2016 at 2:26 PM, Sagar Chandola
<sagarch...@gmail.com> wrote:
> We have the Brainvision Actichamp device and the recorder software and want
> to find a solution of how to make use of the collected data properly.
>
> I was just wondering if Psychopy had any additional features too.
>
> A python based solution works great!

we've been using EEGLAB with our ActiChamp for years now without major
problems. If you run into issues, I suggest you ask for help on the
EEGLAB mailing list. You may also want to check out MNE for Python
(http://www.martinos.org/mne/stable/index.html), but it is not
remotely as mature as EEGLAB. I'm afraid PsychoPy doesn't support any
EEG processing so far, which is also beyond the scope of this project.

Cheers,

Richard

Sagar Chandola

unread,
Feb 17, 2016, 10:28:33 AM2/17/16
to psychopy-users
Thanks Richard.
Can you share the link to the EEGLab mailing list for my reference.

Richard Höchenberger

unread,
Feb 17, 2016, 11:06:32 AM2/17/16
to psychop...@googlegroups.com

On Feb 17, 2016 16:28, "Sagar Chandola" <sagarch...@gmail.com> wrote:
>
> Thanks Richard.
> Can you share the link to the EEGLab mailing list for my reference.

http://lmgtfy.com/?q=eeglab+mailing+list&l=1

You're welcome. :)

--
Sent from my cell phone.

Sagar Chandola

unread,
Feb 18, 2016, 12:39:42 AM2/18/16
to psychopy-users
Hi Richard,

I am discussing with a few EEGlab people I know myself.
Just want to confirm that you are able to open all 4 files(.avg,.eeg,.vhdr and .vmrk) especially .avg and .eeg in EEGlab, after doing the recording in the brainvision recorder of actichamp, without any plugins and software tweaks?

Richard Höchenberger

unread,
Feb 18, 2016, 5:00:21 AM2/18/16
to psychop...@googlegroups.com
Hi Sagar,

we are using PyCorder for data acquisition, it creates three files:

- VHDR
- VMRK
- EEG

You will want to import the VHDR file using Andreas Widmann's bva-io
plugin, which can be found at
https://sccn.ucsd.edu/svn/software/branches/eeglab12/plugins/bva-io1.58/

Hope that helps!

Richard

Richard Höchenberger

unread,
Feb 18, 2016, 5:56:49 AM2/18/16
to psychop...@googlegroups.com
On Thu, Feb 18, 2016 at 10:59 AM, Richard Höchenberger
<richard.ho...@gmail.com> wrote:
> You will want to import the VHDR file using Andreas Widmann's bva-io
> plugin, which can be found at
> https://sccn.ucsd.edu/svn/software/branches/eeglab12/plugins/bva-io1.58/

I just realized the plugin is already part of the default EEGLAB
distribution. So if you have EEGLAB, you already have the plugin
installed, too! :)

Richard

Sagar Chandola

unread,
Feb 19, 2016, 12:46:42 AM2/19/16
to psychopy-users
Thanks! Will get back if have any issues. Will also be nice if you can confirm if .avg files open too in EEGlab as have been outputting data in that format for averaged out recorded data.

Jonathan Peirce

unread,
Feb 19, 2016, 8:16:29 AM2/19/16
to psychop...@googlegroups.com
Sagar, maybe you didn't get Richard's previous hint. *Please use google first.* Google knows more than all of us!

https://www.google.co.uk/#q=avg+file+eeglab

Look at the second hit
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
Jonathan Peirce
University of Nottingham

http://www.peirce.org.uk


This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.

Sagar Chandola

unread,
Feb 22, 2016, 2:26:53 AM2/22/16
to psychopy-users
Thanks Jon. I did refer to google also first.

The actual problem is that although the output format in Neuroscan and Brainvision recorder might look similar eg. .eeg and .avg, but their nature is quite different apparently when doing post processing with EEGlab.

I am trying out a current workaround with a colleague and will update on his results. It is along these lines:

EEGLAB's "pop_loadbv.m" file is used to open files recorded with BrainVision Recorder. It looks for the ".vhdr" file (header file) and should enable you to select the header file associated with the saved .avg files.

Eg. to open the "filename.avg" file, you can select "filename.vhdr" and then be able to open the .avg file in EEGLAB.
Reply all
Reply to author
Forward
0 new messages