2010-05-25
kenji
16
128
20000
8
1000
0
1250
0
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
0
1
2
3
4
5
6
7
32
16
3
8
9
10
11
12
13
14
15
32
16
3
16
17
18
19
20
21
22
23
32
16
3
24
25
26
27
28
29
30
31
32
16
3
32
33
34
35
36
37
38
39
32
16
3
40
41
42
43
44
45
46
47
32
16
3
48
49
50
51
52
53
54
55
32
16
3
56
57
58
59
60
61
62
63
32
16
3
64
65
66
67
68
69
70
71
32
16
3
72
73
74
75
76
77
78
79
32
16
3
80
81
82
83
84
85
86
87
32
16
3
88
89
90
91
92
93
94
95
32
16
3
96
97
98
99
100
101
102
103
32
16
3
104
105
106
107
108
109
110
111
32
16
3
112
113
114
115
116
117
118
119
32
16
3
120
121
122
123
124
32
16
3
3
2
--------
--------
--------
--------
3
3
--
--
--
--
3
4
--
--
--
--
3
5
------------------------------------
------------------------------------
------
------------------------------------
------------------------------------
3
6
------------
------------
------
------------
------------
3
7
--------
--------
--
--------
--------
4
2
4
3
5
2
5
3
5
4
5
5
5
6
5
7
------
------
------
------
------
5
8
------
------
------
------
------
6
2
6
3
6
4
6
5
6
6
6
7
--------
--------
--------
--------
--------
7
2
7
3
9
2
9
3
9
4
--
--
--
--
--
9
5
--------
--------
--------
--------
--------
9
6
--
--
--
--
--
10
2
13
2
--
--
--
--
--
13
3
----
----
----
----
----
14
2
14
3
14
4
14
5
--
--
--
--
--
14
6
------
------
------
------
------
14
7
--
--
--
--
--
14
8
--
--
--
--
--
14
9
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
----------------------------------------------
15
2
15
3
15
4
15
5
15
6
15
7
--
--
--
--
15
8
----------------------
----------------------
----------------------
----------------------
15
9
----
----
----
----
15
10
------
------
------
------
15
11
15
12
--------
--------
--------
--------
15
13
--------
--------
--------
--------
15
14
--
--
--
--
15
15
----
----
--
----
----
15
16
----
----
--
----
----
15
17
----
----
----
----
----
16
2
16
3
16
4
--
--
--
--
--
0.2
32
16
0
#ff0901
#ff0901
#ff0901
0
0
1
#ff0901
#ff0901
#ff0901
1
0
2
#ff0901
#ff0901
#ff0901
2
0
3
#ff0901
#ff0901
#ff0901
3
0
4
#ff0901
#ff0901
#ff0901
4
0
5
#ff0901
#ff0901
#ff0901
5
0
6
#ff0901
#ff0901
#ff0901
6
0
7
#ff0901
#ff0901
#ff0901
7
0
8
#fff708
#fff708
#fff708
8
0
9
#fff708
#fff708
#fff708
9
0
10
#fff708
#fff708
#fff708
10
0
11
#fff708
#fff708
#fff708
11
0
12
#fff708
#fff708
#fff708
12
0
13
#fff708
#fff708
#fff708
13
0
14
#fff708
#fff708
#fff708
14
0
15
#fff708
#fff708
#fff708
15
0
16
#4fff03
#4fff03
#4fff03
16
0
17
#4fff03
#4fff03
#4fff03
17
0
18
#ff0e06
#4fff03
#4fff03
18
0
19
#4fff03
#4fff03
#4fff03
19
0
20
#4fff03
#4fff03
#4fff03
20
0
21
#4fff03
#4fff03
#4fff03
21
0
22
#4fff03
#4fff03
#4fff03
22
0
23
#4fff03
#4fff03
#4fff03
23
0
24
#01ffcc
#01ffcc
#01ffcc
24
0
25
#01ffcc
#01ffcc
#01ffcc
25
0
26
#01ffcc
#01ffcc
#01ffcc
26
0
27
#01ffcc
#01ffcc
#01ffcc
27
0
28
#01ffcc
#01ffcc
#01ffcc
28
0
29
#01ffcc
#01ffcc
#01ffcc
29
0
30
#01ffcc
#01ffcc
#01ffcc
30
0
31
#01ffcc
#01ffcc
#01ffcc
31
0
32
#0877ff
#0877ff
#0877ff
32
0
33
#0877ff
#0877ff
#0877ff
33
0
34
#0877ff
#0877ff
#0877ff
34
0
35
#0877ff
#0877ff
#0877ff
35
0
36
#0877ff
#0877ff
#0877ff
36
0
37
#0877ff
#0877ff
#0877ff
37
0
38
#0877ff
#0877ff
#0877ff
38
0
39
#ff0000
#0877ff
#0877ff
39
0
40
#a600ff
#a600ff
#a600ff
40
0
41
#a600ff
#a600ff
#a600ff
41
0
42
#a600ff
#a600ff
#a600ff
42
0
43
#a600ff
#a600ff
#a600ff
43
0
44
#a600ff
#a600ff
#a600ff
44
0
45
#a600ff
#a600ff
#a600ff
45
0
46
#a600ff
#a600ff
#a600ff
46
0
47
#a600ff
#a600ff
#a600ff
47
0
48
#06e2ff
#06e2ff
#ff006a
48
0
49
#06e2ff
#06e2ff
#ff006a
49
0
50
#06e2ff
#06e2ff
#ff006a
50
0
51
#06e2ff
#06e2ff
#ff006a
51
0
52
#06e2ff
#06e2ff
#ff006a
52
0
53
#06e2ff
#06e2ff
#ff006a
53
0
54
#ff0000
#06e2ff
#ff006a
54
0
55
#06e2ff
#06e2ff
#ff006a
55
0
56
#ff9408
#ff9408
#ff9408
56
0
57
#ff9408
#ff9408
#ff9408
57
0
58
#ff9408
#ff9408
#ff9408
58
0
59
#ff9408
#ff9408
#ff9408
59
0
60
#ff9408
#ff9408
#ff9408
60
0
61
#ff9408
#ff9408
#ff9408
61
0
62
#ff9408
#ff9408
#ff9408
62
0
63
#ff9408
#ff9408
#ff9408
63
0
64
#9dff0a
#9dff0a
#9dff0a
64
0
65
#9dff0a
#9dff0a
#9dff0a
65
0
66
#9dff0a
#9dff0a
#9dff0a
66
0
67
#9dff0a
#9dff0a
#9dff0a
67
0
68
#9dff0a
#9dff0a
#9dff0a
68
0
69
#9dff0a
#9dff0a
#9dff0a
69
0
70
#9dff0a
#9dff0a
#9dff0a
70
0
71
#9dff0a
#9dff0a
#9dff0a
71
0
72
#01ffee
#01ffee
#01ffee
72
0
73
#01ffee
#01ffee
#01ffee
73
0
74
#01ffee
#01ffee
#01ffee
74
0
75
#01ffee
#01ffee
#01ffee
75
0
76
#01ffee
#01ffee
#01ffee
76
0
77
#01ffee
#01ffee
#01ffee
77
0
78
#01ffee
#01ffee
#01ffee
78
0
79
#01ffee
#01ffee
#01ffee
79
0
80
#1008ff
#1008ff
#1008ff
80
0
81
#1008ff
#1008ff
#1008ff
81
0
82
#1008ff
#1008ff
#1008ff
82
0
83
#1008ff
#1008ff
#1008ff
83
0
84
#1008ff
#1008ff
#1008ff
84
0
85
#1008ff
#1008ff
#1008ff
85
0
86
#1008ff
#1008ff
#1008ff
86
0
87
#1008ff
#1008ff
#1008ff
87
0
88
#d608ff
#d608ff
#d608ff
88
0
89
#d608ff
#d608ff
#d608ff
89
0
90
#d608ff
#d608ff
#d608ff
90
0
91
#d608ff
#d608ff
#d608ff
91
0
92
#d608ff
#d608ff
#d608ff
92
0
93
#d608ff
#d608ff
#d608ff
93
0
94
#d608ff
#d608ff
#d608ff
94
0
95
#d608ff
#d608ff
#d608ff
95
0
96
#ff01d0
#ff01d0
#ff01d0
96
0
97
#ff01d0
#ff01d0
#ff01d0
97
0
98
#ff01d0
#ff01d0
#ff01d0
98
0
99
#ff01d0
#ff01d0
#ff01d0
99
0
100
#ff01d0
#ff01d0
#ff01d0
100
0
101
#ff01d0
#ff01d0
#ff01d0
101
0
102
#ff01d0
#ff01d0
#ff01d0
102
0
103
#ff01d0
#ff01d0
#ff01d0
103
0
104
#ffdd01
#ffdd01
#ffdd01
104
0
105
#ffdd01
#ffdd01
#ffdd01
105
0
106
#ffdd01
#ffdd01
#ffdd01
106
0
107
#ffdd01
#ffdd01
#ffdd01
107
0
108
#ff0000
#ffdd01
#ffdd01
108
0
109
#ffdd01
#ffdd01
#ffdd01
109
0
110
#ffdd01
#ffdd01
#ffdd01
110
0
111
#ffdd01
#ffdd01
#ffdd01
111
0
112
#08ff6f
#08ff6f
#08ff6f
112
0
113
#08ff6f
#08ff6f
#08ff6f
113
0
114
#08ff6f
#08ff6f
#08ff6f
114
0
115
#08ff6f
#08ff6f
#08ff6f
115
0
116
#08ff6f
#08ff6f
#08ff6f
116
0
117
#08ff6f
#08ff6f
#08ff6f
117
0
118
#08ff6f
#08ff6f
#08ff6f
118
0
119
#08ff6f
#08ff6f
#08ff6f
119
0
120
#ff08de
#ff08de
#ff08de
120
0
121
#ff08de
#ff08de
#ff08de
121
0
122
#ff08de
#ff08de
#ff08de
122
0
123
#ff08de
#ff08de
#ff08de
123
0
124
#ff08de
#ff08de
#ff08de
124
0
125
#0080ff
#0080ff
#0080ff
125
0
126
#0080ff
#0080ff
#0080ff
126
0
127
#0080ff
#0080ff
#0080ff
127
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
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
g01_maze11_MS.001_004
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
Optional
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
g01_maze11_MS.001
g01_maze11_MS.002
g01_maze11_MS.003
g01_maze11_MS.004