spectrograms.py: Script for viewing the rates and power spectrums

Two figures for viewing firing rates and power spectrum

The figures are invisibly generated and saved under the current working directory and under the sub-directory ~/psd_rBCBG/

1. Figure 1

Figure 1 for visualizing the power spectrum

+---------------------+
|                     |
|      subplot 1      |
|                     |
+---------------------+
|                     |
|      subplot 2      |
|                     |
+---------------------+
|                     |
|      subplot 3      |
|                     |
+---------------------+

Figure 1 contains two subplots such that:

Subplot

Content

Interpretation

1

mean firing rate (across all neurons)

analyseur.rbcbg.visual.rate.plot_mean_rate_in_ax()

2

time-varying power spectrum

analyseur.rbcbg.visual.powspec.VizPSD.PowerSpectrum.plot_tv_in_axis()

3

averaged power spectrum

analyseur.rbcbg.visual.powspec.VizPSD.PowerSpectrum.plot_global_in_ax()

2. Figure 2

Figure 2 for visualizing the firing rates

+---------------------+
|                     |
|      subplot 1      |
|                     |
+---------------------+
|                     |
|      subplot 2      |
|                     |
+---------------------+

Figure 2 contains two subplots such that:

Subplot

Content

Interpretation

1

firing rates for all neurons

analyseur.rbcbg.visual.rate.plot_rate_all_neurons_in_ax()

2

mean firing rate (across all neurons)

analyseur.rbcbg.visual.rate.plot_mean_rate_in_ax()


rbcbg.spectrograms.main()[source]