AllenInstitute / openscope_databook

OpenScope databook: a collaborative, versioned, data-centric collection of foundational analyses for reproducible systems neuroscience 🐁🧠🔬🖥️📈
https://alleninstitute.github.io/openscope_databook
Other
62 stars 19 forks source link

fix get_spike_matrix func #364

Open rcpeene opened 5 months ago

rcpeene commented 5 months ago

in issue #350 , I changed the usage get_spike_matrix function in all files. This broke something. Specifically I believe it results from a rounding error when generating the bin edges versus calculating the diffs from the bins afterward. Should fix. May need to return to passing in bin_sz to the function for proper usage.

jeromelecoq commented 1 month ago

Carter will make a PR to review this function by Jerome