suny-downstate-medical-center / netpyne

A Python package to facilitate the development, parallel simulation, optimization and analysis of multiscale biological neuronal networks in NEURON.
http://www.netpyne.org
MIT License
145 stars 136 forks source link

add default padding (==1) for plotCSD, to avoid top/bottom edge artifacts in color plots #811

Closed samnemo closed 5 months ago

samnemo commented 7 months ago

previously when drawing CSD color plots, the colors were not properly aligned vertically with the CSD time-series overlays

to compensate for this, top/bottom rows of the CSD are padded by default with single replication, to better align the time-series and colors