Closed alexrockhill closed 5 years ago
Could it be that you have an outdated version of pybv
?
This is what the code says:
On a side note, you can format your issues using Markdown. Specifically, if you want to insert code blocks, you can use the ``` signs, as described in this tutorial
You can install the development version using the following command:
pip install -U https://api.github.com/repos/bids-standard/pybv/zipball/master
I just published version 0.1.0
on PyPI, so you should be able to do pip install -U pybv
to get the most recent version :-)
In the README it says:
from pybv import write_brainvision
for further parameters see our API documentation in the docs
write_brainvision(data, sfreq, ch_names, fname, tmpdir, events, resolution=1e-6, fmt='binary_float32')
but in io.py the function definition for write_brainvision is
def write_brainvision(data, sfreq, ch_names, fname_base, folder_out, events=None, resolution=1e-7, scale_data=True): """Write raw data to BrainVision format.
This doesn't include fmt