forked from compmem/ptsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
81 lines (49 loc) · 1.98 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Short-term goals
----------------
1) Rereferencing code (may not be immediately necessary)
2) WICA eyeblink correction code (and also simple eyeblink id code).
3) Save DimArray to HDF5 files (and back with fancy indexing).
4) Redo DimArray and Dim to have Pythonic indexing:
x[(x.time > 0)&(x.time < 1.0)&(x.channels == 'Cz')]
instead of
x['(time > 0)&(time < 1.0)', 'channels == "Cz"']
5) Casting of HDF5Wrapper to int16 with scale factor to save space.
6) Fix topoplot issues (look at PyMVPA for hints).
7) Partial Least Squares
8)
Analysis steps:
---------------
- Load all data with wrapper
- Downsample to 256 Hz
- Rereference (likely to average to retain all channels)
- Highpass filter at ~.5Hz
- Identify range with clean eyeblinks
- Run WICA to clean eyeblinks
- Save processed file out to HDF5 (with annotations)
- Align preprocessed data to experiment with events
- Load events of interest and calculate wavelet power
- Save to file (ideally DimArray to HDF5, but it's not ready)
- Get means for the conditions for each participant and run PLS
- Plot results
- Write paper
- Profit!!!
Other ToDos:
------------
Redo fancy 3D scalp and intracranial plots using VTK (for
publications and other fun stuph.)
Circular stats, for analyzing phase info.
Simple stats, such as bootstraps/permutation tests. The wilcox tests
in scipy are kind of not ideal. However, we can use rpy for any stats
we really care about.
Add in EMD and Hilbert-Huang Transform. (In progress)
Frequency flows analysis.
Maybe add in multitaper at some point, but probably not.
Methods for extracting sync pulses and aligning events. (DONE)
Artifact removal (artifact correction) (DONE)
Old basic workflow:
- We have a bunch of subjects who performed some task.
- Events for each subject, allow us to access the eeg data.
- Calculate phase and power for eeg, saving to file (for now, we'll
- save to dictionaries, eventually HDF5)
- Run stats on power values.
- Plot/display results.