-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
69 lines (43 loc) · 1.72 KB
/
README.txt
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
Open Ephys Analysis README
1. Processing the raw data
2. Changing spike detection parameters.
3. Changing spike sorting parameters.
1. Processing the raw data
Provided in the "analysis/helpers" folder is the function "processAndSaveSession"
call the function as follows:
sess = processAndSaveSession(dataFolder);
where dataFolder is folder containing the raw data. For Example:
sess = processAndSaveSession('D:\FullData074\bas074_2015-11-24_14-16-03');
Function processes data with default spike detection and spike sorting parameters.
Session will automatically be saved once sorting completes and can be found in folder function
is called in.
2. Changing Spike Detection Parameters
The spike detection parameters can be found and changed in the file:
analysis\classes\spikeDetectionParams\filteredThreshold.m
Default parameters are as follows:
freqLowHi = [200 10000]
minmaxVolts
thresholdVolts
thresholdVoltsSTD
waveformWindowMs = 1.5
peakWindowMs = 0.6
alignMethod = 'atPeak'
peakAlignment = 'filtered'
returnedSpikes = 'filtered'
lockoutDurMs = 1
thresholdMethod = 'std'
ISIviolationMS = 1
method = 'filteredThresh'
samplingFreq = 30000;
3. Changing Spike Sorting Parameters
The spike sorting parameters can be found and changed in the file:
analysis\classes\spikeSortingParams\KlustaKwik.m
Default parameters are as follows:
s.minClusters = 4;
s.maxClusters = 30;
s.nStarts = 1;
s.splitEvery = 5;
s.maxPossibleClusters = 30;
s.featureList = {'tenPCs'};
s.arrangeClustersBy = 'averageAmplitude';
s.postProcessing ='biggestAverageAmplitudeCluster';