@@ -1231,16 +1231,25 @@ def test_rename_cell_types(base_network):
1231
1231
#
1232
1232
dpls1 = simulate_dipole (net1 , tstop = 2. , n_trials = 1 )
1233
1233
plot_dipole (dpls1 , show = False )
1234
+ net1 .cell_response .plot_spikes_raster (show = False )
1235
+ net1 .cell_response .plot_spikes_hist (show = False )
1234
1236
1235
1237
dpls2 = simulate_dipole (net2 , tstop = 2. , n_trials = 1 )
1236
1238
plot_dipole (dpls2 , show = False )
1239
+ net2 .cell_response .plot_spikes_raster (show = False )
1240
+ net2 .cell_response .plot_spikes_hist (show = False )
1237
1241
1238
1242
dpls3 = simulate_dipole (net3 , tstop = 2. , n_trials = 1 )
1239
1243
plot_dipole (dpls3 , show = False )
1244
+ net3 .cell_response .plot_spikes_raster (show = False )
1245
+ net3 .cell_response .plot_spikes_hist (show = False )
1240
1246
1241
1247
# Test the other main network we use for testing
1242
1248
net4 = hnn_core .hnn_io .read_network_configuration (
1243
1249
op .join (hnn_core_root , 'tests' , 'assets' , 'jones2009_3x3_drives.json' ))
1244
1250
net4 ._rename_cell_types (cell_type_rename_mapping )
1245
1251
dpls4 = simulate_dipole (net4 , tstop = 2. , n_trials = 1 )
1246
1252
plot_dipole (dpls4 , show = False )
1253
+ net4 .cell_response .plot_spikes_raster (show = False )
1254
+ net4 .cell_response .plot_spikes_hist (show = False )
1255
+
0 commit comments