@@ -71,7 +71,7 @@ def make_plots(fig_title,
7171 t_max = np .max (np .abs (true_csd ))
7272 levels = np .linspace (- 1 * t_max , t_max , 16 )
7373 ind_interest = np .mgrid [0 :t_csd_z .shape [2 ]:np .complex (0 ,z_steps + 2 )]
74- ind_interest = np .array (ind_interest , dtype = np . int )[1 :- 1 ]
74+ ind_interest = np .array (ind_interest , dtype = int )[1 :- 1 ]
7575 for ii , idx in enumerate (ind_interest ):
7676 ax = plt .subplot (gs [ii , 0 ])
7777 im = plt .contourf (t_csd_x [:,:,idx ], t_csd_y [:,:,idx ], true_csd [:,:,idx ],
@@ -131,7 +131,7 @@ def make_plots(fig_title,
131131 t_max = np .max (np .abs (pre_cv [:,:,:,0 ]))
132132 levels_kcsd = np .linspace (- 1 * t_max , t_max , 16 )
133133 ind_interest = np .mgrid [0 :k_csd_z .shape [2 ]:np .complex (0 ,z_steps + 2 )]
134- ind_interest = np .array (ind_interest , dtype = np . int )[1 :- 1 ]
134+ ind_interest = np .array (ind_interest , dtype = int )[1 :- 1 ]
135135 for ii , idx in enumerate (ind_interest ):
136136 ax = plt .subplot (gs [ii , 2 ])
137137 im = plt .contourf (k_csd_x [:,:,idx ], k_csd_y [:,:,idx ], pre_cv [:,:,idx ,0 ],
@@ -159,7 +159,7 @@ def make_plots(fig_title,
159159 t_max = np .max (np .abs (est_csd [:,:,:,0 ]))
160160 levels_kcsd = np .linspace (- 1 * t_max , t_max , 16 )
161161 ind_interest = np .mgrid [0 :k_csd_z .shape [2 ]:np .complex (0 ,z_steps + 2 )]
162- ind_interest = np .array (ind_interest , dtype = np . int )[1 :- 1 ]
162+ ind_interest = np .array (ind_interest , dtype = int )[1 :- 1 ]
163163 for ii , idx in enumerate (ind_interest ):
164164 ax = plt .subplot (gs [ii , 3 ])
165165 im = plt .contourf (k_csd_x [:,:,idx ], k_csd_y [:,:,idx ], est_csd [:,:,idx ,0 ],
0 commit comments