2010-08-04
kenji
16
128
20000
8
1000
0
1250
0
1
2
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
88
90
92
94
112
113
114
115
116
117
118
119
121
123
125
127
0
1
2
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
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
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
88
90
92
94
32
16
3
112
113
114
115
116
117
118
119
32
16
3
121
123
125
127
32
16
3
0.2
32
16
0
#ff0396
#ff0396
#ff0396
0
0
1
#ff0396
#ff0396
#ff0396
1
0
2
#ff0396
#ff0396
#ff0396
2
0
3
#1bff0b
#0080ff
#0080ff
3
0
4
#ffd105
#ff0396
#ff0396
4
0
5
#ff0396
#ff0396
#ff0396
5
0
6
#ff0396
#ff0396
#ff0396
6
0
7
#ff0396
#ff0396
#ff0396
7
0
8
#03ff92
#03ff92
#03ff92
8
0
9
#03ff92
#03ff92
#03ff92
9
0
10
#ffea08
#03ff92
#03ff92
10
0
11
#03ff92
#03ff92
#03ff92
11
0
12
#03ff92
#03ff92
#03ff92
12
0
13
#03ff92
#03ff92
#03ff92
13
0
14
#03ff92
#03ff92
#03ff92
14
0
15
#03ff92
#03ff92
#03ff92
15
0
16
#d208ff
#d208ff
#d208ff
16
0
17
#d208ff
#d208ff
#d208ff
17
0
18
#ff0303
#d208ff
#d208ff
18
0
19
#d208ff
#d208ff
#d208ff
19
0
20
#d208ff
#d208ff
#d208ff
20
0
21
#d208ff
#d208ff
#d208ff
21
0
22
#d208ff
#d208ff
#d208ff
22
0
23
#d208ff
#d208ff
#d208ff
23
0
24
#adff08
#adff08
#adff08
24
0
25
#adff08
#adff08
#adff08
25
0
26
#ff0901
#adff08
#adff08
26
0
27
#adff08
#adff08
#adff08
27
0
28
#adff08
#adff08
#adff08
28
0
29
#adff08
#adff08
#adff08
29
0
30
#adff08
#adff08
#adff08
30
0
31
#ff0c04
#0080ff
#0080ff
31
0
32
#00ffd9
#00ffd9
#00ffd9
32
0
33
#00ffd9
#00ffd9
#00ffd9
33
0
34
#ff0505
#00ffd9
#00ffd9
34
0
35
#00ffd9
#00ffd9
#00ffd9
35
0
36
#00ffd9
#00ffd9
#00ffd9
36
0
37
#00ffd9
#00ffd9
#00ffd9
37
0
38
#00ffd9
#00ffd9
#00ffd9
38
0
39
#00ffd9
#00ffd9
#00ffd9
39
0
40
#9d0aff
#9d0aff
#9d0aff
40
0
41
#9d0aff
#9d0aff
#9d0aff
41
0
42
#ffea03
#9d0aff
#9d0aff
42
0
43
#9d0aff
#9d0aff
#9d0aff
43
0
44
#9d0aff
#9d0aff
#9d0aff
44
0
45
#9d0aff
#9d0aff
#9d0aff
45
0
46
#9d0aff
#9d0aff
#9d0aff
46
0
47
#9d0aff
#9d0aff
#9d0aff
47
0
48
#ff083e
#0080ff
#0080ff
48
0
49
#ff083e
#0080ff
#0080ff
49
0
50
#ffff05
#0080ff
#0080ff
50
0
51
#f3ff07
#0080ff
#0080ff
51
0
52
#ff083e
#0080ff
#0080ff
52
0
53
#ff083e
#0080ff
#0080ff
53
0
54
#ff083e
#0080ff
#0080ff
54
0
55
#ff083e
#0080ff
#0080ff
55
0
56
#c8ff14
#c8ff14
#c8ff14
56
0
57
#c8ff14
#c8ff14
#c8ff14
57
0
58
#ff2200
#c8ff14
#c8ff14
58
0
59
#c8ff14
#c8ff14
#c8ff14
59
0
60
#c8ff14
#c8ff14
#c8ff14
60
0
61
#c8ff14
#c8ff14
#c8ff14
61
0
62
#c8ff14
#c8ff14
#c8ff14
62
0
63
#c8ff14
#c8ff14
#c8ff14
63
0
64
#06ff0a
#0080ff
#0080ff
64
0
65
#06ff0a
#0080ff
#0080ff
65
0
66
#06ff0a
#0080ff
#0080ff
66
0
67
#06ff0a
#0080ff
#0080ff
67
0
68
#06ff0a
#0080ff
#0080ff
68
0
69
#06ff0a
#0080ff
#0080ff
69
0
70
#06ff0a
#0080ff
#0080ff
70
0
71
#06ff0a
#0080ff
#0080ff
71
0
72
#ff00c4
#ff00c4
#ff00c4
72
0
73
#ff00c4
#ff00c4
#ff00c4
73
0
74
#ff00c4
#ff00c4
#ff00c4
74
0
75
#ff00c4
#ff00c4
#ff00c4
75
0
76
#ff00c4
#ff00c4
#ff00c4
76
0
77
#ff00c4
#ff00c4
#ff00c4
77
0
78
#ff00c4
#ff00c4
#ff00c4
78
0
79
#ff0901
#ff00c4
#ff00c4
79
0
80
#00ffcc
#0080ff
#0080ff
80
0
81
#00ffcc
#0080ff
#0080ff
81
0
82
#00ffcc
#0080ff
#0080ff
82
0
83
#00ffcc
#0080ff
#0080ff
83
0
84
#00ffcc
#0080ff
#0080ff
84
0
85
#00ffcc
#0080ff
#0080ff
85
0
86
#00ffcc
#0080ff
#0080ff
86
0
87
#00ffcc
#0080ff
#0080ff
87
0
88
#8c2dff
#8c2dff
#8c2dff
88
0
89
#ff0c04
#0080ff
#0080ff
89
0
90
#6c11ff
#8c2dff
#8c2dff
90
0
91
#ff1904
#0080ff
#0080ff
91
0
92
#8c2dff
#8c2dff
#8c2dff
92
0
93
#ff1803
#0080ff
#0080ff
93
0
94
#8c2dff
#8c2dff
#8c2dff
94
0
95
#ff0303
#0080ff
#0080ff
95
0
96
#ff1601
#0080ff
#0080ff
96
0
97
#ff1601
#0080ff
#0080ff
97
0
98
#ff1601
#0080ff
#0080ff
98
0
99
#ff1601
#0080ff
#0080ff
99
0
100
#ff1601
#0080ff
#0080ff
100
0
101
#ff1601
#0080ff
#0080ff
101
0
102
#ff1601
#0080ff
#0080ff
102
0
103
#ccff14
#0080ff
#0080ff
103
0
104
#ff3007
#0080ff
#0080ff
104
0
105
#ff3007
#0080ff
#0080ff
105
0
106
#ff3007
#0080ff
#0080ff
106
0
107
#ff3007
#0080ff
#0080ff
107
0
108
#ff3007
#0080ff
#0080ff
108
0
109
#ff3007
#0080ff
#0080ff
109
0
110
#ff3007
#0080ff
#0080ff
110
0
111
#deff68
#0080ff
#0080ff
111
0
112
#00fffb
#00fffb
#00fffb
112
0
113
#00fffb
#00fffb
#00fffb
113
0
114
#00fffb
#00fffb
#00fffb
114
0
115
#00fffb
#00fffb
#00fffb
115
0
116
#00fffb
#00fffb
#00fffb
116
0
117
#00fffb
#00fffb
#00fffb
117
0
118
#00fffb
#00fffb
#00fffb
118
0
119
#00fffb
#00fffb
#00fffb
119
0
120
#ff0000
#0080ff
#0080ff
120
0
121
#ffa303
#ffa303
#ffa303
121
0
122
#ff1f01
#0080ff
#0080ff
122
0
123
#ffa303
#ffa303
#ffa303
123
0
124
#ff1c07
#0080ff
#0080ff
124
0
125
#ffa303
#ffa303
#ffa303
125
0
126
#ff0707
#0080ff
#0080ff
126
0
127
#ffa303
#ffa303
#ffa303
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
8
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
i01_maze02_MS.001_003
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
i01_maze02_MS.001
i01_maze02_MS.002
i01_maze02_MS.003