viziphant icon indicating copy to clipboard operation
viziphant copied to clipboard

[Enh] Reuse Elephant function for `rasterplot_rates`

Open kohlerca opened this issue 1 year ago • 0 comments

Looking into the code for the rasterplot_rates function, the computation of the population histogram uses the matplotlib hist function (lines 465 and 469 of rasterplot.py).

It would be useful to reuse the time_histogram function from Elephant, which provides more options to control the histogram, especially the ability to normalize by either mean or density.

kohlerca avatar Oct 27 '23 16:10 kohlerca