Skip to content
/ bv4j Public

read Brain Vision Data Exchange format in Java

License

Notifications You must be signed in to change notification settings

xuser/bv4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

BV4J

BV4J is a library for reading EEG data in BrainVision format. It supports the import of selected channels and epochs.

Features

  • reads data in binary format (no ASCII yet)
  • MULTIPLEXED or VECTORIZED data orientation
  • 16-bit integer, 32-bit float or 64-bit double data types

Example usage

File file = new File("somePathToHeaderFile.vhdr")
BrainVisionReader bv = new BrainVisionReader(file);
int channel = 0; int from = 0; int to = 3000; //reads content of first channel from sample 0 to 3000 (inclusive)
bv.read(channel, from, to);
float[] data = bv.getData();
bv.close();

Bugs & Suggestions

If you find bugs or have suggestions regarding parts of the software, please file a report/request on GitHub or email me.

About

read Brain Vision Data Exchange format in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages