A lightweight Python library for reading & writing BrainVoyager file formats.
bvbabel
is a spiritual successor of Jochen Weber's Neuroelf's xff
function, Thomas Emmerling's currently unmerged Nibabel pull request, and Hester Breman's earlier efforts around 2005. I have been inspired by these earlier projects, but ended up deciding to implement from scratch based on BrainVoyager file formats documentation.
File format | Read | Write | Create | Test data |
---|---|---|---|---|
FMR & STC | Yes | Yes | No | No |
GLM | No | No | No | No |
GTC | Yes | Yes | No | No |
MSK | Yes | Yes | No | No |
MTC | Yes | Yes | No | Yes |
OBJ | No | Yes | No | No |
POI | Yes | Yes | No | Yes |
PRT | Yes | wip... | No | No |
SRF | Yes | wip... | No | Yes |
SMP | Yes | Yes | Yes | Yes |
SSM | Yes | No | No | No |
SDM | Yes | Yes | No | Yes |
TRF | No | No | No | No |
V16 | Yes | Yes | Yes | No |
VMP | Yes | Yes | No | No |
VMR | Yes | Yes | No | Yes |
VOI | Yes | Yes | No | Yes |
VTC | Yes | Yes | Yes | Yes |
Required | Package | Tested version |
---|---|---|
Yes | Python 3 | 3.7.8 |
Yes | NumPy | 1.17.2 |
No | NiBabel | 3.2.0 |
- Clone the latest release and unzip it.
- Change directory in your command line:
cd /path/to/bvbabel
- Install bvbabel:
python setup.py install
- Once the installation is complete, you can have a look ant try using some of the example scripts at the examples folder.
This project is licensed under MIT.
This project is fully supported by Brain Innovation (Maastricht, NL) as the main developer (Omer Faruk Gulban) works there.