Difference between revisions of "EEG Lab Log"

From MindBrainWiki
Jump to: navigation, search
Line 2: Line 2:
 
The purpose of this page is to provide a public log of activity in the EEG lab. Please date your entries and please do not share any confidential information.  
 
The purpose of this page is to provide a public log of activity in the EEG lab. Please date your entries and please do not share any confidential information.  
 
== Log ==
 
== Log ==
 +
 +
=== Dec 5 2017 ===
 +
Eyal- 16:30-19:00 - everyhing works properly
 +
 
=== Dec 4 2017 ===
 
=== Dec 4 2017 ===
 
Dan Cook in for Gamma calib.
 
Dan Cook in for Gamma calib.

Revision as of 19:54, 5 December 2017

Purpose

The purpose of this page is to provide a public log of activity in the EEG lab. Please date your entries and please do not share any confidential information.

Log

Dec 5 2017

Eyal- 16:30-19:00 - everyhing works properly

Dec 4 2017

Dan Cook in for Gamma calib.

Eyal take over for experimenter calib.

Dec 3 2017

CRT monitor and Dell monitor were not being recognized by the new stimulus computer. Problem fixed. Please see the pdf in C:\Computer info\monitors\CorrectSettings.pdf for the correct settings.

Media wiki not displaying thumbnails correctly.

1 November 2017

Python

You can find the Python and conda executables in the path:

  • C:\Anaconda\python
  • C:\Anaconda\Scripts\conda

The Ananconda prompt (terminal) is in the task bar, you can use that, or powershell.

Instead of using the root environment of Python 2.7 from the Anaconda prompt, please use either 1) your own environment, or 2) use the environment: python27

To use this version/environment of python, open the Anaconda prompt or powershell and type:

  • activate python27

You can install/update packages within this environment, but it is better if you create your own environment. Create zour own like this:

  • conda create --name my_python27

or, if you want to use a different version of python (one that is not the root version of 2.7),

  • conda create -n my_python36 python=3.6

where "my_python27" is your unique name. Afterwards, you can activate your own environment in the prompt whenever you want, and then manage your dependencies within your own environment without messing with anyone else's dependencies:

  • activate my_python27

You can read more about managing environments in conda here.

As of the time of writing, the following environments are located on the system:

  • dcook_python27 C:\Users\AG Villinger\AppData\Local\conda\conda\envs\dcook_python27
  • dcook_python36 C:\Users\AG Villinger\AppData\Local\conda\conda\envs\dcook_python36
  • python27 C:\Users\AG Villinger\AppData\Local\conda\conda\envs\python27
  • python36 C:\Users\AG Villinger\AppData\Local\conda\conda\envs\python36
  • root C:\ProgramData\Anaconda2

You can update the list by asking conda to list the environments:

  • conda info --envs

Nov 2 2017

show stuff in path:

  • ($env:Path).Replace(';',"`n")

set path:

  • $env:path="$env:Path;C:\Anaconda\python"
  • installed older version of pyschopy:
  • conda install -c cogsci psychopy
  • psychopy: 1.82.01-py27_0 cogsci
  • pyglet: 1.2.4-py27_0 cogsci

Sending some triggers in Python:

from psychopy import core

port = parallel.ParallelPort(address=57336)

port.setData(0)

port.setData(1)

core.wait(1.0)

port.setData(0)

Sending some triggers in Matlab:

See the functions in the path: C:\Users\AG Villinger\Desktop\Computer Tests\MATLAB_triggers