2014-06-20
Palmer
16
142
20000
20
1000
0
1250
20000
fil
1250
lfp
103
96
102
97
101
98
100
99
111
104
110
105
109
106
108
107
88
81
89
80
87
83
84
85
82
91
86
93
90
92
94
95
69
76
67
72
66
68
65
64
79
70
78
71
77
73
75
74
118
113
119
112
116
115
117
114
126
121
127
120
124
123
125
122
128
129
130
131
132
133
134
135
136
137
138
139
140
141
62
55
63
54
60
57
61
56
58
59
52
11
53
13
50
14
51
15
48
49
10
4
9
0
7
1
6
2
5
3
31
28
29
30
8
20
12
23
18
25
22
24
26
27
21
42
19
43
16
44
17
45
47
46
41
32
40
33
39
34
38
35
37
36
103
96
102
97
101
98
100
99
32
16
3
111
104
110
105
109
106
108
107
32
16
3
88
81
89
80
87
83
84
85
32
16
3
82
91
86
93
90
92
94
95
32
16
3
69
76
67
72
66
68
65
64
32
16
3
79
70
78
71
77
73
75
74
32
16
3
118
113
119
112
116
115
117
114
32
16
3
126
121
127
120
124
123
125
122
32
16
3
62
55
63
54
60
57
61
56
58
59
32
16
3
52
11
53
13
50
14
51
15
48
49
32
16
3
10
4
9
0
7
1
6
2
5
3
32
16
3
31
32
16
5
28
32
16
5
29
32
16
5
30
32
16
5
8
20
12
23
18
25
22
24
26
27
32
16
3
21
42
19
43
16
44
17
45
47
46
32
16
3
41
32
40
33
39
34
38
35
37
36
32
16
3
2
2
--
--
--
--
2
3
2
4
2
5
2
6
--
--
--
--
--
4
2
4
3
4
4
4
5
4
6
--------
--------
--------
--------
--------
6
2
6
3
6
4
--------
--------
--------
--------
--------
14
2
--------
--------
--------
--------
--------
18
2
18
3
------
------
------
------
------
1
2
1
3
------
------
------
------
------
1
4
--
--
--
--
--
3
2
3
3
3
4
3
5
3
6
3
7
----
----
----
----
----
5
2
5
3
7
2
7
3
7
4
7
5
7
6
7
7
7
8
7
9
----
----
----
----
----
8
2
8
3
8
4
8
5
9
2
9
3
----
----
----
----
----
10
2
10
3
10
4
10
5
10
6
10
7
----
----
----
----
----
10
8
--
--
--
--
--
10
9
--
--
--
--
--
11
2
11
3
11
4
11
5
11
6
11
7
17
2
17
3
--
--
--
--
--
16
2
16
3
16
4
16
5
16
6
0.2
32
16
0
#55aaff
#55aaff
#55aaff
0
0
1
#55aaff
#55aaff
#55aaff
1
0
2
#55aaff
#55aaff
#55aaff
2
0
3
#55aaff
#55aaff
#55aaff
3
0
4
#55aaff
#55aaff
#55aaff
4
0
5
#55aaff
#55aaff
#55aaff
5
0
6
#55aaff
#55aaff
#55aaff
6
0
7
#55aaff
#55aaff
#55aaff
7
0
8
#ff0000
#ff0000
#ff0000
8
0
9
#55aaff
#55aaff
#55aaff
9
0
10
#55aaff
#55aaff
#55aaff
10
0
11
#55ff7f
#55ff7f
#55ff7f
11
0
12
#ff0000
#ff0000
#ff0000
12
0
13
#55ff7f
#55ff7f
#55ff7f
13
0
14
#55ff7f
#55ff7f
#55ff7f
14
0
15
#55ff7f
#55ff7f
#55ff7f
15
0
16
#ffaa00
#ffaa00
#ffff7f
16
0
17
#ffaa00
#ffaa00
#ffff7f
17
0
18
#ff0000
#ff0000
#ff0000
18
0
19
#ffaa00
#ffaa00
#ffff7f
19
0
20
#ff0000
#ff0000
#ff0000
20
0
21
#ffaa00
#ffaa00
#ffff7f
21
0
22
#ff0000
#ff0000
#ff0000
22
0
23
#ff0000
#ff0000
#ff0000
23
0
24
#ff0000
#ff0000
#ff0000
24
0
25
#ff0000
#ff0000
#ff0000
25
0
26
#ff0000
#ff0000
#ff0000
26
0
27
#ff0000
#ff0000
#ff0000
27
0
28
#aaaa00
#0080ff
#0080ff
28
0
29
#aaaa00
#0080ff
#0080ff
29
0
30
#aaaa00
#0080ff
#0080ff
30
0
31
#aaaa00
#0080ff
#0080ff
31
0
32
#aaff7f
#aaff7f
#aaff7f
32
0
33
#aaff7f
#aaff7f
#aaff7f
33
0
34
#aaff7f
#aaff7f
#aaff7f
34
0
35
#aaff7f
#aaff7f
#aaff7f
35
0
36
#aaff7f
#aaff7f
#aaff7f
36
0
37
#aaff7f
#aaff7f
#aaff7f
37
0
38
#aaff7f
#aaff7f
#aaff7f
38
0
39
#aaff7f
#aaff7f
#aaff7f
39
0
40
#aaff7f
#aaff7f
#aaff7f
40
0
41
#aaff7f
#aaff7f
#aaff7f
41
0
42
#ffaa00
#ffaa00
#ffff7f
42
0
43
#ffaa00
#ffaa00
#ffff7f
43
0
44
#ffaa00
#ffaa00
#ffff7f
44
0
45
#ffaa00
#ffaa00
#ffff7f
45
0
46
#ffaa00
#ffaa00
#ffff7f
46
0
47
#ffaa00
#ffaa00
#ffff7f
47
0
48
#55ff7f
#55ff7f
#55ff7f
48
0
49
#55ff7f
#55ff7f
#55ff7f
49
0
50
#55ff7f
#55ff7f
#55ff7f
50
0
51
#55ff7f
#55ff7f
#55ff7f
51
0
52
#55ff7f
#55ff7f
#55ff7f
52
0
53
#55ff7f
#55ff7f
#55ff7f
53
0
54
#aa00ff
#aa00ff
#aa00ff
54
0
55
#aa00ff
#aa00ff
#aa00ff
55
0
56
#aa00ff
#aa00ff
#aa00ff
56
0
57
#aa00ff
#aa00ff
#aa00ff
57
0
58
#aa00ff
#aa00ff
#aa00ff
58
0
59
#aa00ff
#aa00ff
#aa00ff
59
0
60
#aa00ff
#aa00ff
#aa00ff
60
0
61
#aa00ff
#aa00ff
#aa00ff
61
0
62
#aa00ff
#aa00ff
#aa00ff
62
0
63
#aa00ff
#aa00ff
#aa00ff
63
0
64
#aaff7f
#aaff7f
#aaff7f
64
0
65
#aaff7f
#aaff7f
#aaff7f
65
0
66
#aaff7f
#aaff7f
#aaff7f
66
0
67
#aaff7f
#aaff7f
#aaff7f
67
0
68
#aaff7f
#aaff7f
#aaff7f
68
0
69
#aaff7f
#aaff7f
#aaff7f
69
0
70
#0000ff
#0000ff
#0000ff
70
0
71
#0000ff
#0000ff
#0000ff
71
0
72
#aaff7f
#aaff7f
#aaff7f
72
0
73
#0000ff
#0000ff
#0000ff
73
0
74
#0000ff
#0000ff
#0000ff
74
0
75
#0000ff
#0000ff
#0000ff
75
0
76
#aaff7f
#aaff7f
#aaff7f
76
0
77
#0000ff
#0000ff
#0000ff
77
0
78
#0000ff
#0000ff
#0000ff
78
0
79
#0000ff
#0000ff
#0000ff
79
0
80
#aaaa7f
#aaaa7f
#aaaa7f
80
0
81
#aaaa7f
#aaaa7f
#aaaa7f
81
0
82
#00ff7f
#00ff7f
#00ff7f
82
0
83
#aaaa7f
#aaaa7f
#aaaa7f
83
0
84
#aaaa7f
#aaaa7f
#aaaa7f
84
0
85
#aaaa7f
#aaaa7f
#aaaa7f
85
0
86
#00ff7f
#00ff7f
#00ff7f
86
0
87
#aaaa7f
#aaaa7f
#aaaa7f
87
0
88
#aaaa7f
#aaaa7f
#aaaa7f
88
0
89
#aaaa7f
#aaaa7f
#aaaa7f
89
0
90
#00ff7f
#00ff7f
#00ff7f
90
0
91
#00ff7f
#00ff7f
#00ff7f
91
0
92
#00ff7f
#00ff7f
#00ff7f
92
0
93
#00ff7f
#00ff7f
#00ff7f
93
0
94
#00ff7f
#00ff7f
#00ff7f
94
0
95
#00ff7f
#00ff7f
#00ff7f
95
0
96
#aa007f
#aa007f
#aa007f
96
0
97
#aa007f
#aa007f
#aa007f
97
0
98
#aa007f
#aa007f
#aa007f
98
0
99
#aa007f
#aa007f
#aa007f
99
0
100
#aa007f
#aa007f
#aa007f
100
0
101
#aa007f
#aa007f
#aa007f
101
0
102
#aa007f
#aa007f
#aa007f
102
0
103
#aa007f
#aa007f
#aa007f
103
0
104
#00aa7f
#00aa7f
#00aa7f
104
0
105
#00aa7f
#00aa7f
#00aa7f
105
0
106
#00aa7f
#00aa7f
#00aa7f
106
0
107
#00aa7f
#00aa7f
#00aa7f
107
0
108
#00aa7f
#00aa7f
#00aa7f
108
0
109
#00aa7f
#00aa7f
#00aa7f
109
0
110
#00aa7f
#00aa7f
#00aa7f
110
0
111
#00aa7f
#00aa7f
#00aa7f
111
0
112
#aa00ff
#aa00ff
#aa00ff
112
0
113
#aa00ff
#aa00ff
#aa00ff
113
0
114
#aa00ff
#aa00ff
#aa00ff
114
0
115
#aa00ff
#aa00ff
#aa00ff
115
0
116
#aa00ff
#aa00ff
#aa00ff
116
0
117
#aa00ff
#aa00ff
#aa00ff
117
0
118
#aa00ff
#aa00ff
#aa00ff
118
0
119
#aa00ff
#aa00ff
#aa00ff
119
0
120
#00aaff
#00aaff
#00aaff
120
0
121
#00aaff
#00aaff
#00aaff
121
0
122
#00aaff
#00aaff
#00aaff
122
0
123
#00aaff
#00aaff
#00aaff
123
0
124
#00aaff
#00aaff
#00aaff
124
0
125
#00aaff
#00aaff
#00aaff
125
0
126
#00aaff
#00aaff
#00aaff
126
0
127
#00aaff
#00aaff
#00aaff
127
0
128
#aaaaff
#aaaaff
#0080ff
128
0
129
#00ffff
#00ffff
#0080ff
129
0
130
#aaffff
#aaffff
#0080ff
130
0
131
#550000
#550000
#0080ff
131
0
132
#ff0000
#ff0000
#0080ff
132
0
133
#55aa00
#55aa00
#0080ff
133
0
134
#55aa00
#55aa00
#0080ff
134
0
135
#55aa00
#55aa00
#0080ff
135
0
136
#55aa00
#55aa00
#0080ff
136
0
137
#55aa00
#55aa00
#0080ff
137
0
138
#55aa00
#55aa00
#0080ff
138
0
139
#55aa00
#55aa00
#0080ff
139
0
140
#55aa00
#55aa00
#0080ff
140
0
141
#55aa00
#55aa00
#0080ff
141
0
process_calcThreshold
executeScriptBool
1
Mandatory
rmsWindowLength
2
Mandatory
useage:
process_calcThreshold fileBaseName electrodeNumber
This script calculates the spike detection threshold and puts it in the file fileBaseName.threshold.electrodeNumber
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- rmsWindowLength represents the root mean square (rms) integration window for detection.
process_detectSpikes
executeScriptBool
1
Mandatory
thresholdFactor
7
Mandatory
refractoryPeriod
8
Mandatory
rmsWindowLength
2
Mandatory
peakWindowLength
10
Mandatory
windowPeakAlign
5
Mandatory
spikesFromDatBool
1
Mandatory
This script does the following:
* detects the spikes (creates the .res.# file),
* aligns the peaks,
* gets the waveforms (creates the .spk.# file),
The variables used by the different programs called in this script depend on the sampling rate. The default is for a sampling rate of 10khz.
All the script parameters are multiplifaction factor of 10khz except the thresholdFactor.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- refractoryPeriod represents the after detection, how many samples to skip before detecting a new spike if one is detected.
- rmsWindowLength represents the root mean square (rms) integration window for detection.
- peakWindowLength represents the window (number of samples to test) to search for spike peak, seams to be used for eigen calculation or finding of the true spike peak.
- windowPeakAlign represents the middle of the peakWindowLength, where to take the spike peak in peakWindowLength.
- thresholdFactor is a factor to compute the detection threshold:
threshold = thresholdFactor * baseline
process_findCommonThreshold
executeScriptBool
1
Mandatory
maxThreshold
Mandatory
useage:
process_findCommonThreshold fileBaseName [fileBaseName ...]
for each electrodeGroup in fileBaseName.xml
the value in fileBaseName.threshold.electrodeGroup is replaced by the minimum threshold value across passed fileBaseNames.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- maxThreshold default = 500
process_merge
executeScriptBool
1
Mandatory
mergeBaseName
Dino_061814
Mandatory
process_merge
usage:
process_merge -n $mergeBaseName $fileBaseNames
merges .spk .res etc for multi-file clustering.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- mergeBaseName designates the fileBaseName of the merged files.
*** Requirements ***
* calls process_pca_light : to do pca without presence of .fil file
* calls pproc
* each fileBaseName.* must be in a directory fileBaseName - which can be performed by process_dirFiles
process_mhipass
executeScriptBool
1
Mandatory
frequency
800
Mandatory
libraryPath
/u16/local/matlab6.5/extern/lib/glnx86:/u16/local/matlab6.5/bin/glnx86:/u16/local/matlab6.5/sys/os/glnx86
Mandatory
This script does the high-pass filtering for subsequent spike extraction. The .fil file is created by the program called in this script.
The frequency parameter is the lowest frequency cut off.
The highest frequency is computed based on the sampling rate as 0.95 % of the Nyquist frequency:
sampling rate * 0.5 * 0.95
The program called in this script is currently a matlab program, therefore this part of the process relies on Matlab until this program is rewritten.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- libraryPath is the path for Matlab.
process_mlopass
executeScriptBool
1
Mandatory
libraryPath
/u16/local/matlab6.5/extern/lib/glnx86:/u16/local/matlab6.5/bin/glnx86:/u16/local/matlab6.5/sys/os/glnx86
Mandatory
This script does the low-pass filtering (for local field potentials). The .eeg file is created by the program called in this script.
It calls a resampling program which first apply an anti aliasing low pass filter to the data and then samples down to the local field potential sampling rate provided in the parameter file.
The resampling program is currently a matlab program, therefore this part of the process relies on Matlab until this program is rewritten.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- libraryPath is the path for Matlab.
process_multi_start
cpFirstXmlBool
1
Mandatory
rmFilFileBool
1
Mandatory
This script starts eeg and spike data processing on a list of input fileBaseNames
This script is called by:
process_multi_start fileBaseName [fileBaseNames]
Parameters:
- rmFilFileBool
1 = remove the high pass filtered .fil file to save space
- cpFirstXmlBool
1 = copy the xml file from the first fileBaseName to all other fileBaseNames to save time
* Note that ideally the common threshold would be for single channels rather than single electrodes (may be a problem of process_baseline)
process_mvFiles2Dirs
executeScriptBool
1
Mandatory
This script organizes files in preparation for process_merge by moving fileBaseName.* into a directory fileBaseName
useage:
process_mvFiles2Dirs fileBaseName
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
process_pca
executeScriptBool
1
Mandatory
beforePeak
4
Mandatory
afterPeak
4
Mandatory
nSamplesInPCA
16
Mandatory
This script performs the principle component analysis (PCA ). It computes the variance (creates the .m1m2.# file) and creates the .fet.# and .mm.# files.
The variables used to compute the PCA depend on the sampling rate. The default is for a sampling rate of 10khz.
The parameters in the parameter file are multiplifaction factor of 10khz.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- beforePeak represents the number of samples before peak to be used for the PCA. There is one value for all the electrodes.
- afterPeak represents the number of samples after peak to be used for the PCA. There is one value for all the electrodes.
- nSamplesInPCA represents the number of samples used for PCA. There is one value for all the electrodes.
updateParFile
executeScriptBool
1
Mandatory
samplesInWaveform
16
Mandatory
peakSample
8
Mandatory
This script updates the parameter file.
It adds for each spike group, the number of samples in each waveform, the sample index of the peak in a waveform and the number of feaures to use to do the PCA.
The variables used by the different programs depend on the sampling rate. The default is for a sampling rate of 10khz.
All the script parameters are multiplifaction factor of 10khz.
parameters:
- executeScriptBool determines whether the script should be run with the next batch process.
- The parameter samplesInWaveform represents the number of samples in each waveform .
- The parameter peakSample represents the sample index of the peak in a waveform.
1
Dino_062014-01
Dino_062014-02
Dino_062014-03
Dino_062014-04