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
# These are functions to estimate a variety of ERP amptlitude and latency features that interact with mne-python | |
import numpy as np | |
import pandas as pd | |
from scipy.integrate import trapezoid | |
from scipy.signal import find_peaks | |
from mne import Evoked, pick_channels | |
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
import numpy as np | |
import pandas as pd | |
from random import shuffle | |
from pathlib import Path | |
# Out directory | |
out_dir = Path('lagged_lists') | |
out_dir.mkdir(exist_ok=True) | |
# Make a dummy stimulus list |