spike2sdf(1)

πŸ“¦ version 2.1.0, in ubuntu resolute, ubuntu stonking

πŸ’– 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