.TH spike2sdf 1 "@build_date@" 2.1.0 "CNrun" .SH NAME spike2sdf -- compute SDF (spike density function). .SH SYNOPSIS spike2sdf \fBfname\fR \fBperiod\fR \fBsigma\fR \fBrestrict_window\fR .B .PP .SH DESCRIPTION .PP Spike2sdf computes spike density function for a spiking timeline, sampling every \fBperiod\fR using a Gaussian with \fBsigma\fR considering spikes from \fBrestrict_window\fR msec centred at sampling point. SDF is calculated as a sum of exp(\- dt_i^2 / sigma^2), where dt_i is sampling point to spike time distance. .SH SEE ALSO cnrun(1), varfold(1). .SH AUTHOR Andrei Zavada (johnhommer@gmail.com).