Exemplo n.º 1
0
 def test_plot_probe_map(self):
     sw.plot_probe_map(self._rec)
Exemplo n.º 2
0
recording2 = recording.clone()
recording2.set_channel_groups(channel_ids=recording.get_channel_ids(),
                              groups=[0, 0, 1, 1])
w_ts2 = sw.plot_timeseries(recording2, time_range=(5, 8), color_groups=True)

##############################################################################
# **Note**: each function returns a widget object, which allows to access the figure and axis.

w_ts.figure.suptitle("Recording by group")
w_ts.ax.set_ylabel("Channel_ids")

##############################################################################
# plot_electrode_geometry()
# ~~~~~~~~~~~~~~~~~~~~~~~~~

w_el = sw.plot_probe_map(recording)

##############################################################################
# plot_spectrum()
# ~~~~~~~~~~~~~~~~

#TODO : @alessio this is for you
# w_sp = sw.plot_spectrum(recording)

##############################################################################
# plot_spectrogram()
# ~~~~~~~~~~~~~~~~~~~~~~~~~

#TODO : @alessio this is for you
#w_spg = sw.plot_spectrogram(recording, channel=0, nfft=2048)