Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eeglabio/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The version number."""

__version__ = '0.1.0'
__version__ = '0.2.0'
4 changes: 3 additions & 1 deletion eeglabio/epochs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
from numpy.core.records import fromarrays
from scipy.io import savemat
from hdf5storage import savemat

from .utils import cart_to_eeglab, logger

Expand Down Expand Up @@ -58,6 +58,8 @@ def export_set(fname, data, sfreq, events, tmin, tmax, ch_names, event_id=None,
-----
Channel locations are expanded to the full EEGLAB format.
For more details see :func:`.utils.cart_to_eeglab_sph`.

Since 0.2.0, data is saved in matlabs v7.3 hdf5 format to support files large than 2GB
"""

data = data * 1e6 # convert to microvolts
Expand Down
4 changes: 3 additions & 1 deletion eeglabio/raw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import numpy as np
from scipy.io import savemat
from hdf5storage import savemat

try:
from numpy.rec import fromarrays # NumPy 2.0+
Expand Down Expand Up @@ -52,6 +52,8 @@ def export_set(fname, data, sfreq, ch_names, ch_locs=None, annotations=None,
-----
Channel locations are expanded to the full EEGLAB format.
For more details see :func:`.utils.cart_to_eeglab_sph`.

Since 0.2.0, data is saved in matlabs v7.3 hdf5 format to support files large than 2GB
"""

data = data * 1e6 # convert to microvolts
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
numpy
scipy
scipy
hdf5storage
3 changes: 2 additions & 1 deletion requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ pydata-sphinx-theme==0.9.0
sphinx_copybutton
# readthedocs don't work without these
numpy
scipy
scipy
hdf5storage