2007-08-18
kenji
16
99
20000
20
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
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
1
2
1
3
--
--
--
--
--
2
2
----
----
----
----
----
3
2
3
3
3
4
--
--
--
--
--
3
5
----
----
----
----
----
3
6
--------
--------
--------
--------
--------
4
2
4
3
4
4
----
----
----
----
----
4
5
----
----
----
----
----
5
2
5
3
----
----
----
----
----
9
2
9
3
9
4
9
5
9
6
10
2
10
3
10
4
--
--
--
--
--
11
2
------
------
------
------
------
12
2
12
3
12
4
12
5
0.2
32
16
0
#ffdd03
#ffdd03
#ffdd03
0
0
1
#ffdd03
#ffdd03
#ffdd03
1
0
2
#ffdd03
#ffdd03
#ffdd03
2
0
3
#ff0000
#ffdd03
#ffdd03
3
0
4
#ffdd03
#ffdd03
#ffdd03
4
0
5
#ffdd03
#ffdd03
#ffdd03
5
0
6
#ffdd03
#ffdd03
#ffdd03
6
0
7
#ffdd03
#ffdd03
#ffdd03
7
0
8
#37ff00
#37ff00
#37ff00
8
0
9
#37ff00
#37ff00
#37ff00
9
0
10
#37ff00
#37ff00
#37ff00
10
0
11
#37ff00
#37ff00
#37ff00
11
0
12
#ff0000
#37ff00
#37ff00
12
0
13
#37ff00
#37ff00
#37ff00
13
0
14
#37ff00
#37ff00
#37ff00
14
0
15
#37ff00
#37ff00
#37ff00
15
0
16
#05ffee
#05ffee
#05ffee
16
0
17
#05ffee
#05ffee
#05ffee
17
0
18
#05ffee
#05ffee
#05ffee
18
0
19
#05ffee
#05ffee
#05ffee
19
0
20
#05ffee
#05ffee
#05ffee
20
0
21
#ff0b03
#05ffee
#05ffee
21
0
22
#05ffee
#05ffee
#05ffee
22
0
23
#ff0505
#05ffee
#05ffee
23
0
24
#d103ff
#d103ff
#d103ff
24
0
25
#ff1601
#d103ff
#d103ff
25
0
26
#d103ff
#d103ff
#d103ff
26
0
27
#d103ff
#d103ff
#d103ff
27
0
28
#d103ff
#d103ff
#d103ff
28
0
29
#d103ff
#d103ff
#d103ff
29
0
30
#d103ff
#d103ff
#d103ff
30
0
31
#d103ff
#d103ff
#d103ff
31
0
32
#ff200c
#14ff2f
#ff014d
32
0
33
#14ff2f
#14ff2f
#ff014d
33
0
34
#14ff2f
#14ff2f
#ff014d
34
0
35
#14ff2f
#14ff2f
#ff014d
35
0
36
#14ff2f
#14ff2f
#ff014d
36
0
37
#14ff2f
#14ff2f
#ff014d
37
0
38
#14ff2f
#14ff2f
#ff014d
38
0
39
#14ff2f
#14ff2f
#ff014d
39
0
40
#ff0303
#ffde05
#ffde05
40
0
41
#ffde05
#ffde05
#ffde05
41
0
42
#ffde05
#ffde05
#ffde05
42
0
43
#ffde05
#ffde05
#ffde05
43
0
44
#ffde05
#ffde05
#ffde05
44
0
45
#ffde05
#ffde05
#ffde05
45
0
46
#ffde05
#ffde05
#ffde05
46
0
47
#ffde05
#ffde05
#ffde05
47
0
48
#ff0303
#08ff73
#08ff73
48
0
49
#08ff73
#08ff73
#08ff73
49
0
50
#08ff73
#08ff73
#08ff73
50
0
51
#08ff73
#08ff73
#08ff73
51
0
52
#08ff73
#08ff73
#08ff73
52
0
53
#08ff73
#08ff73
#08ff73
53
0
54
#08ff73
#08ff73
#08ff73
54
0
55
#08ff73
#08ff73
#08ff73
55
0
56
#ff120a
#06ffee
#06ffee
56
0
57
#06ffee
#06ffee
#06ffee
57
0
58
#06ffee
#06ffee
#06ffee
58
0
59
#06ffee
#06ffee
#06ffee
59
0
60
#06ffee
#06ffee
#06ffee
60
0
61
#06ffee
#06ffee
#06ffee
61
0
62
#06ffee
#06ffee
#06ffee
62
0
63
#06ffee
#06ffee
#06ffee
63
0
64
#ffdf0f
#ffdf0f
#ff2908
64
0
65
#ffdf0f
#ffdf0f
#ff2908
65
0
66
#ffdf0f
#ffdf0f
#ff2908
66
0
67
#ffdf0f
#ffdf0f
#ff2908
67
0
68
#ffdf0f
#ffdf0f
#ff2908
68
0
69
#ffdf0f
#ffdf0f
#ff2908
69
0
70
#ffdf0f
#ffdf0f
#ff2908
70
0
71
#ff1803
#ffdf0f
#ff2908
71
0
72
#b20cff
#b20cff
#b20cff
72
0
73
#ff0303
#b20cff
#b20cff
73
0
74
#b20cff
#b20cff
#b20cff
74
0
75
#b20cff
#b20cff
#b20cff
75
0
76
#b20cff
#b20cff
#b20cff
76
0
77
#b20cff
#b20cff
#b20cff
77
0
78
#b20cff
#b20cff
#b20cff
78
0
79
#b20cff
#b20cff
#b20cff
79
0
80
#08ff0c
#08ff0c
#08ff0c
80
0
81
#ff590c
#08ff0c
#08ff0c
81
0
82
#08ff0c
#08ff0c
#08ff0c
82
0
83
#08ff0c
#08ff0c
#08ff0c
83
0
84
#08ff0c
#08ff0c
#08ff0c
84
0
85
#08ff0c
#08ff0c
#08ff0c
85
0
86
#08ff0c
#08ff0c
#08ff0c
86
0
87
#08ff0c
#08ff0c
#08ff0c
87
0
88
#0fffc3
#0fffc3
#0fffc3
88
0
89
#0fffc3
#0fffc3
#0fffc3
89
0
90
#ff3508
#0fffc3
#0fffc3
90
0
91
#0fffc3
#0fffc3
#0fffc3
91
0
92
#0fffc3
#0fffc3
#0fffc3
92
0
93
#0fffc3
#0fffc3
#0fffc3
93
0
94
#0fffc3
#0fffc3
#0fffc3
94
0
95
#0fffc3
#0fffc3
#0fffc3
95
0
96
#0080ff
#0080ff
#0080ff
96
0
97
#0080ff
#0080ff
#0080ff
97
0
98
#0080ff
#0080ff
#0080ff
98
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
ec014.759_779
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