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 pylsl | |
import numpy as np | |
import time | |
import sys, os | |
T_TOTAL = 70 | |
T_SWITCH = 11.1 | |
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 matplotlib.pyplot as plt | |
import tensorflow as tf | |
import tensorflow.keras.layers as tfkl | |
from tensorflow.keras import backend as K | |
import tensorflow_probability as tfp | |
tfd = tfp.distributions | |
tfpl = tfp.layers | |
tfb = tfp.bijectors |
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 os | |
import zmq | |
from time import sleep, time | |
import numpy as np | |
import sys | |
sys.path.append('E:\SachsLab\Tools\VR\Pupil\pupil') | |
import pupil_src.shared_modules.file_methods as fm | |
from pupil_src.shared_modules import zmq_tools | |
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 | |
from scipy import signal | |
fs = 30000 # Hz | |
n_chans = 100 | |
sig_dur = 300.0 # seconds | |
lp_cutoff = 250 # Hz | |
lp_order = 8 | |
sig_freq_low = 14 # Frequency of sine wave in signal | |
sig_amp_low = 10.0 # Amplitude of sine wave in signal |