File: plot_output.py

package info (click to toggle)
bmtk 0.0%2Bgit20210109.8572664%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 74,876 kB
  • sloc: python: 24,853; javascript: 1,998; makefile: 34; sh: 16
file content (13 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
import matplotlib.pyplot as plt

from bmtk.analyzer.spike_trains import plot_raster, plot_rates, plot_rates_boxplot
from bmtk.analyzer.compartment import plot_traces


# Setting show to False so we can display all the plots at the same time
plot_raster(config_file='config.json', group_by='model_name', show=False)
plot_rates(config_file='config.json', group_by='model_name', smoothing=True, show=False)
plot_rates_boxplot(config_file='config.json', group_by='model_name', show=False)


plt.show()