This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
from scipy.io import loadmat | |
from os import listdir | |
from numpy import nan_to_num | |
import pickle | |
import gzip | |
import sys | |
import mne | |
def convert_to_pz(fname): |