plots#
- class analysis.plots.NM_Plot(ecog_strip: ndarray | None = None, grid_cortex: ndarray | None = None, grid_subcortex: ndarray | None = None, sess_right: bool | None = False, proj_matrix_cortex: ndarray | None = None)[source]#
- plot_cortex(grid_cortex: ndarray | DataFrame | None = None, grid_color: ndarray | None = None, ecog_strip: ndarray | None = None, strip_color: ndarray | None = None, sess_right: bool | None = None, save: bool = False, OUT_PATH: str | PathLike = '', feature_file: str = '', feature_str_add: str = '', show_plot: bool = True, title: str = 'Cortical grid', set_clim: bool = True, lower_clim: float = 0.5, upper_clim: float = 0.7, cbar_label: str = 'Balanced Accuracy')[source]#
Plot MNI brain including selected MNI cortical projection grid + used strip ECoG electrodes Colorcoded by grid_color