2013-10-15
Brendon
BWRat20
16
72
20000
20
1000
0
1250
39.0625
whl
1250
lfp
1
6
0
7
3
4
2
5
9
14
8
15
11
12
10
13
48
57
49
56
50
54
52
53
58
51
60
55
61
59
62
63
45
36
41
34
37
35
33
32
39
46
38
47
40
44
43
42
16
23
17
22
18
21
19
20
24
31
25
30
26
29
27
28
64
65
66
67
68
69
70
71
1
6
0
7
3
4
2
5
32
16
3
9
14
8
15
11
12
10
13
32
16
3
48
57
49
56
50
54
52
53
32
16
3
58
51
60
55
61
59
62
63
32
16
3
45
36
41
34
37
35
33
32
32
16
3
39
46
38
47
40
44
43
42
32
16
3
16
23
17
22
18
21
19
20
32
16
3
24
31
25
30
26
29
27
28
32
16
3
1
2
CTX
1
3
CTX
1
4
CTX
1
5
CTX
1
6
CTX
1
7
CTX
1
8
CTX
1
9
CTX
1
10
CTX
1
11
CTX
1
12
CTX
1
13
CTX
1
14
CTX
------------
------------
------------
------------
1
15
CTX
----
----
----
----
1
16
CTX
------
------
------
------
1
17
CTX
--------
--------
--------
--------
1
18
CTX
--------
--------
--------
--------
2
2
CTX
2
3
CTX
2
4
CTX
2
5
CTX
2
6
CTX
2
7
CTX
2
8
CTX
2
9
CTX
2
10
CTX
2
11
CTX
2
12
CTX
2
13
CTX
2
14
CTX
2
15
CTX
2
17
CTX
2
18
CTX
2
19
CTX
2
20
CTX
2
21
CTX
2
22
CTX
2
23
CTX
2
24
CTX
2
25
CTX
2
26
CTX
2
27
CTX
2
28
CTX
2
29
CTX
2
30
CTX
2
31
CTX
2
32
CTX
2
33
CTX
2
34
CTX
2
35
CTX
2
36
CTX
2
37
CTX
2
38
CTX
2
39
CTX
2
40
CTX
2
41
CTX
2
42
CTX
2
43
CTX
2
44
CTX
2
45
CTX
2
46
CTX
2
47
CTX
2
48
CTX
2
50
CTX
2
51
CTX
2
52
CTX
2
53
CTX
2
54
CTX
2
55
CTX
2
56
CTX
2
57
CTX
--------
--------
--------
--------
2
58
CTX
--------
--------
--------
--------
2
59
CTX
--
--
--
--
2
60
CTX
----
----
----
----
2
61
CTX
--
--
--
--
3
2
CTX
3
3
CTX
3
4
CTX
3
5
CTX
3
6
CTX
3
7
CTX
3
8
CTX
3
9
CTX
3
10
CTX
3
11
CTX
3
12
CTX
3
13
CTX
7
2
CTX
7
3
CTX
7
4
CTX
7
5
CTX
7
6
CTX
7
7
CTX
7
8
CTX
7
9
CTX
8
2
CTX
8
3
CTX
8
4
CTX
8
5
CTX
8
6
CTX
8
7
CTX
8
8
CTX
8
9
CTX
8
10
CTX
8
11
CTX
6
2
CTX
6
3
CTX
6
4
CTX
6
5
CTX
6
6
CTX
6
7
CTX
6
8
CTX
6
9
CTX
6
10
CTX
6
11
CTX
0.200000
32
16
0
#0080ff
#0080ff
#0080ff
0
0
1
#0080ff
#0080ff
#0080ff
1
0
2
#0080ff
#0080ff
#0080ff
2
0
3
#0080ff
#0080ff
#0080ff
3
0
4
#0080ff
#0080ff
#0080ff
4
0
5
#0080ff
#0080ff
#0080ff
5
0
6
#0080ff
#0080ff
#0080ff
6
0
7
#0080ff
#0080ff
#0080ff
7
0
8
#ff0000
#ff0000
#ff0000
8
0
9
#ff0000
#ff0000
#ff0000
9
0
10
#ff0000
#ff0000
#ff0000
10
0
11
#ff0000
#ff0000
#ff0000
11
0
12
#ff0000
#ff0000
#ff0000
12
0
13
#ff0000
#ff0000
#ff0000
13
0
14
#ff0000
#ff0000
#ff0000
14
0
15
#ff0000
#ff0000
#ff0000
15
0
16
#ffaa00
#ffaa00
#ffaa00
16
0
17
#ffaa00
#ffaa00
#ffaa00
17
0
18
#ffaa00
#ffaa00
#ffaa00
18
0
19
#ffaa00
#ffaa00
#ffaa00
19
0
20
#ffaa00
#ffaa00
#ffaa00
20
0
21
#ffaa00
#ffaa00
#ffaa00
21
0
22
#ffaa00
#ffaa00
#ffaa00
22
0
23
#ffaa00
#ffaa00
#ffaa00
23
0
24
#00007f
#00007f
#00007f
24
0
25
#00007f
#00007f
#00007f
25
0
26
#00007f
#00007f
#00007f
26
0
27
#00007f
#00007f
#00007f
27
0
28
#00007f
#00007f
#00007f
28
0
29
#00007f
#00007f
#00007f
29
0
30
#00007f
#00007f
#00007f
30
0
31
#00007f
#00007f
#00007f
31
0
32
#aaff00
#aaff00
#aaff00
32
0
33
#aaff00
#aaff00
#aaff00
33
0
34
#aaff00
#aaff00
#aaff00
34
0
35
#aaff00
#aaff00
#aaff00
35
0
36
#aaff00
#aaff00
#aaff00
36
0
37
#aaff00
#aaff00
#aaff00
37
0
38
#aa55ff
#aa55ff
#aa55ff
38
0
39
#aa55ff
#aa55ff
#aa55ff
39
0
40
#aa55ff
#aa55ff
#aa55ff
40
0
41
#aaff00
#aaff00
#aaff00
41
0
42
#aa55ff
#aa55ff
#aa55ff
42
0
43
#aa55ff
#aa55ff
#aa55ff
43
0
44
#aa55ff
#aa55ff
#aa55ff
44
0
45
#aaff00
#aaff00
#aaff00
45
0
46
#aa55ff
#aa55ff
#aa55ff
46
0
47
#aa55ff
#aa55ff
#aa55ff
47
0
48
#55aa00
#55aa00
#55aa00
48
0
49
#55aa00
#55aa00
#55aa00
49
0
50
#55aa00
#55aa00
#55aa00
50
0
51
#ff007f
#ff007f
#ff007f
51
0
52
#55aa00
#55aa00
#55aa00
52
0
53
#55aa00
#55aa00
#55aa00
53
0
54
#55aa00
#55aa00
#55aa00
54
0
55
#ff007f
#ff007f
#ff007f
55
0
56
#55aa00
#55aa00
#55aa00
56
0
57
#55aa00
#55aa00
#55aa00
57
0
58
#ff007f
#ff007f
#ff007f
58
0
59
#ff007f
#ff007f
#ff007f
59
0
60
#ff007f
#ff007f
#ff007f
60
0
61
#ff007f
#ff007f
#ff007f
61
0
62
#ff007f
#ff007f
#ff007f
62
0
63
#ff007f
#ff007f
#ff007f
63
0
64
#aa557f
#000000
#0080ff
64
0
65
#aa557f
#000000
#0080ff
65
0
66
#aa557f
#000000
#0080ff
66
0
67
#aa557f
#000000
#0080ff
67
0
68
#aa557f
#000000
#0080ff
68
0
69
#aa557f
#000000
#0080ff
69
0
70
#aa557f
#000000
#0080ff
70
0
71
#aa557f
#000000
#0080ff
71
0
badchannels
badchannels
1 6 0 7 2 5 9 14 15 11 10 13 48 57 49 56 50 54 52 53 51 60 55 59 62 63 45 36 41 34 37 35 33 32 39 46 38 40 43 16 21 19 20 24 30 26 27 28 64 65 66 67 68 69 70 71
Mandatory
ndm_extractleds
suffix
Mandatory
useTrackerData
false
Mandatory
threshold
90
Mandatory
extension
mpg
Mandatory
show
true
Mandatory
Extract LEDs (= bright spots) from a video file.
For each video frame, all bright spots are detected and listed in a .spots file, one line per spot, listing on successive columns the frame number, number of pixels in the spot, x and y coordinates of the spot center, x and y sizes of the spot (defined as standard deviations of the distributions of x and y coordinates of all the pixels in the spot), and spot color (as a YCrCb triplet).
PARAMETERS
# suffix
Suffix of the directory where the video file is located
# useTrackerData
Depending on the acquisition systems, the successive positions of the LEDs across time can be extracted from either the video file, or the online tracking file if such a feature is available (e.g. Neuralynx systems). Because in some configurations both video and tracking files may be recorded in parallel, it is necessary to explicitly request one of the above two methods.
# threshold
Bright spots consist of pixels brighter than this threshold (from 0 to 255)
# extension
Extension of the video file (e.g. avi, mpg, etc.)
# show
Whether the video should be displayed during LED extraction
(hiding the video yields faster processing, especially over network connections)
ndm_extractspikes
thresholdFactor
1.5
Mandatory
refractoryPeriod
16
Mandatory
peakSearchLength
32
Mandatory
start
0
Mandatory
duration
60
Mandatory
Extract spikes from high-pass filtered .fil file (this creates .res and .spk files).
First, the program automatically computes a baseline 'noise' level, using a subset of the data. Then, spikes are extracted whenever the signal crosses a threshold proportional to the baseline 'noise' level. To avoid spurious detections, the signal must have a local maximum (or minimum, depending on the sign of the signal) within a fixed search window starting at threshold crossing. Also, the duration between consecutive spikes must be greater than a fixed 'refractory' period.
PARAMETERS
# thresholdFactor
Threshold = thresholdFactor * baseline 'noise' level
# refractoryPeriod
Number of samples to skip after a spike, before trying to detect a new spike
# peakSearchLength
Length of the peak search window (in number of samples)
# start
Starting point in the file (in s) for computation of baseline 'noise' level
# duration
Duration (in s) for computation of baseline 'noise' level
ndm_hipass
windowHalfLength
16
Mandatory
High-pass filter a .dat file (required for spike extraction).
The program uses a median-based (non-linear) filter to minimize spike waveform distortion.
PARAMETERS
# windowHalfWidth
Determines the cutoff frequency
ndm_lfp
samplingRate
1250
Mandatory
Downsample a .dat file to create the corresponding LFP file.
PARAMETERS
# samplingRate
Target sampling rate (default = 1250Hz)
ndm_pca
before
4
Mandatory
after
4
Mandatory
Compute principal component analysis (PCA).
PARAMETERS
All mandatory parameters are defined in the 'Acquisition System' and 'Spike Groups' tab.
OPTIONAL PARAMETERS
# before
Number of samples before the peak to use for the PCA. This can be either a space-separated list of numbers (one per electrode group), or a single common number for all groups.
# after
Number of samples after the peak to use for the PCA. This can be either a space-separated list of numbers (one per electrode group), or a single common number for all groups.
# extra
Whether extra features (spike peak value) should be included in the output files.
ndm_start
suffixes
Mandatory
wideband
false
Mandatory
events
false
Mandatory
video
false
Mandatory
lfp
true
Mandatory
Perform all processing steps for a multiple sets of multiple-session recordings: format conversion, channel extraction and reordering, video transcoding and tracking, data concatenation, spike detection and extraction, etc.
PARAMETERS
# suffixes
List of suffixes for the individual files to convert
OPTIONAL PARAMETERS
Note: To keep the interface simpler, optional parameters have default values and are not listed in the 'Parameters' tab; to choose custom values, click the 'Add' button and manually add the required parameters (and custom values) to the list.
# wideband
Process the wideband data files recorded by the acquisition system: convert to .dat format, resample, merge, extract and reorder channels (default = true)
# video
Process video files recorded by the acquisition system: transcode and extract LEDs (default = true)
# events
Process event files recorded by the acquisition system: convert to .evt format and rename events (default = true)
# spikes
Process spikes: detect and extract spike waveforms, perform PCA (default = true)
# lfp
Downsample wideband signals to produce LFP files (default = true)
# clean
Remove intermediate files after pre-processing is complete (default = false)
# log
Save progress information to log files for later review (use 'cat' or 'less -R' for correct formatting) (default = true)