Project

General

Profile

Wiki » History » Version 25

Davíð Örn Jóhannesson, 2013-07-01 15:10

1 6 Davíð Örn Jóhannesson
h1. Cognative Tests
2 1 Davíð Örn Jóhannesson
3 4 Davíð Örn Jóhannesson
h2. n-Back test.
4 1 Davíð Örn Jóhannesson
5 5 Davíð Örn Jóhannesson
h3. About
6
7 1 Davíð Örn Jóhannesson
Under repository\n_back\About\N-Back Test.pdf is useful information about the project. We suggest you read it before embarking on the rest of the assignment.
8 5 Davíð Örn Jóhannesson
9
h3. Software
10
11 8 Davíð Örn Jóhannesson
The chosen software for this application is Python, using version 3.3.1
12 1 Davíð Örn Jóhannesson
13 7 Davíð Örn Jóhannesson
Modules used for the project where:
14 1 Davíð Örn Jóhannesson
15 8 Davíð Örn Jóhannesson
- PySide, for menus activities. Using Qt. (not a major issue so not included currently, revise later)
16 1 Davíð Örn Jóhannesson
- PyAudio, for audio activities.
17 8 Davíð Örn Jóhannesson
- PyGame, for the visual activities
18
19 10 Davíð Örn Jóhannesson
Some configurations were applied to fit the screen according to the paper this experiment is based on. 
20 11 Davíð Örn Jóhannesson
The screen is a DELL: 1905fp - series [approx 41.5x41.5 http://reviews.cnet.com/lcd-monitors/dell-ultrasharp-1905fp/4507-3174_7-31232074.html ]
21 10 Davíð Örn Jóhannesson
22 12 Davíð Örn Jóhannesson
In order to convert we assume the following:
23 13 Davíð Örn Jóhannesson
* Box in degrees 1.8 x 2.3
24
* Distance from screen: 0.6 m
25 18 Davíð Örn Jóhannesson
* Box: 1.88 x 2.44 cm*
26 13 Davíð Örn Jóhannesson
* Using "http://www.unitconversion.org/typography/pixels-x-to-centimeters-conversion.html" we get
27 18 Davíð Örn Jóhannesson
* Pixels: 71 x 91
28 13 Davíð Örn Jóhannesson
29 17 Davíð Örn Jóhannesson
/* The calculations are: size = 2*(length from screen)* sin[(given angle)/2]</b>
30 13 Davíð Örn Jóhannesson
31 8 Davíð Örn Jóhannesson
h3. How to run
32
33 22 Davíð Örn Jóhannesson
Through the repository go to n_back and download the "N-Back.zip" file. 
34 21 Davíð Örn Jóhannesson
35 22 Davíð Örn Jóhannesson
After downloading unzip. Open the N-Back folder and find the file "blackBox.exe" and run.
36 8 Davíð Örn Jóhannesson
37
h3. How it works
38
39
After running the file to start the program (see: "How to run") you are prompted to enter subject number from 1-99. 
40
The program then checks if the name is taken, if not taken it creates a directory in the same directory you keep the the program. If the number is taken the program prompts a question to ask if you want to overwrite the folder, choose "y" for yes and "n" for no. If "n" is chosen then the program will exit.
41
42
Assuming that you have a legit file name and the directory has been created the test will begin. 
43
44 23 Davíð Örn Jóhannesson
First we have a black screen with text preparing the subject for the coming test. 
45
Press space to start the first part of the test.
46
47
There are 3 test parts each composed of 6x20 figures running time approx 7.30 min - total running time for experiment > 22. min.
48
A time marker is added to a log for the following actions
49
 * Recording Start
50
 * Test starts
51
 * box shown on screen
52
These markers are saved in a file for the subject.
53
54
Between tests there is a prompt screen asking for space to continue. Each time space is pressed the recording starts and a marker is added. 
55
56
When the test is finished the markers are all put in one file.
57 6 Davíð Örn Jóhannesson
58
h2. Stroop
59
60
h3. About
61
62
The stroop test was designed and implemented by dr. Jón Guðnason, and is currently under evaluation and changes in the hands of the developers.
63
64 1 Davíð Örn Jóhannesson
h3. Software
65 6 Davíð Örn Jóhannesson
66 24 Bjarki Jóhannsson
The program was written in Python and is operated in windows. The program is a revised version of the Matlab stroop test, with changes requested by the Sálfræði experts.
67
68
The program executes a total of 5 runs, with each run consisting of a category of emotional words being displayed in random colors. An audio recording is saved for each run. A time log text file is also recorded, keeping record of all events in the program such as the time of  the start of recording and the time of each word displayed. This allows for calculating the subject's response time.
69 25 Davíð Örn Jóhannesson
70
h1. EMG 
71
72
h2. Positions
73
Main reading subject was through "http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0057889#s2", secondary reading was done through scholar.google.com, referencing EMG, mental stress.
74
75
Several studies suggested that using the trapezoid and the neck was most efficient for our premise. 
76
The location of the EMG sensors are shown on kine's homepage:
77
"http://kine.is/_count_file_click/Products/MMS/?file=files/4f9eb31892144.pdf"