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 pandas as pd | |
PTH = r'C:\Users\Ola\Downloads\muse' | |
fls = os.listdir(PTH) | |
muse = pd.read_csv(op.join(PTH, fls[0])) | |
raws = [col for col in muse.columns if 'RAW' in col] | |
muse.TimeStamp = pd.to_datetime(muse.TimeStamp) |
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
# -*- encoding: utf-8 -*- | |
from __future__ import print_function | |
import random | |
from psychopy import core, visual, event | |
from OpenClose import run_baseline as bsln | |
import TurboSternberg as strn | |
import LinOrd as lin |
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 PIL | |
import time | |
import numpy as np | |
import pyscreenshot as scr | |
# TODOs: | |
# - [ ] ctypes.windll.InpOut32 for LPT trigger | |
# - [ ] activate only on blank to non-blank change | |
# - [ ] | |
state = False |