spike2sdf(1)
π spike2sdf β the CNrun glow-up for your spikes π
okay bestie, welcome to spike2sdf(1), part of the CNrun manual family π«Ά this little icon does exactly one thing and does it gorgeously, so let's get into it.
β¨ NAME β¨
spike2sdf β compute SDF (spike density function). that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
spike2sdf fname period sigma restrict_window
four args, no notes, we love a minimal queen π
π¦ DESCRIPTION π¦
so spike2sdf computes the spike density function for a spiking timeline, fr fr. it samples every period, using a Gaussian with sigma, and it considers spikes from restrict_window msec centred at the sampling point. main character energy honestly β¨
the SDF itself is calculated as a sum of exp(- dt_i^2 / sigma^2), where dt_i is the sampling point to spike time distance. math but make it cute π
π SEE ALSO π
cnrun(1)varfold(1)
go read those too, they're lowkey iconic π
π AUTHOR π
Andrei Zavada (johnhommer@gmail.com). legend behaviour, no cap π«Ά
version 2.1.0 π built @build_date@ π and that's the whole spike2sdf(1) page bestie β go forth and compute those density functions, you've got this π
β¨π¦
π¦ where this page comes from
- ubuntu resolute: cnrun-tools 2.1.0-4 Β· GPL-2.0-or-later
- ubuntu stonking: cnrun-tools 2.1.0-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms