Skip to main content
. 2021 Jul 19;21(14):4900. doi: 10.3390/s21144900
Algorithm 2. Defining the order of the time interval when spike actions A are detected.
Inputs: Cluster c, Number of clusters l, PSP timeseries, PSP temporal length T, Spike-events in clusters ci(t) and spike time-interval  
Outputs: Rules R=(A, ord) as set of Action A and time orders
Procedure:
For c=1 to l //for all the clusters
Baseline 1
While (Baseline<T)
If (Length of {ci(Baseline: Baseline+)>0} equal to ) //sequential number of spikes
Action (c, Baseline) A
End If
BaselineBaseline+1
End while
End For
Print sets of Actions as Rules
For c = 1 to l
Ord1
For t = 1 to T
If Actions(c,t)=A
R(ord) Actions(c,t)
Ordord+1
End For
End For
End of Procedure