nltools.plotting¶
Plots that are not a method on a data class. Everything else is plotted from the
object itself, through BrainData.plot, Adjacency.plot and
DesignMatrix.plot.
nltools.plotting — visualization utilities for neuroimaging analysis.
component_viewer is the one function users call directly. Everything else
here is the drawing internal behind a data-class method — BrainData.plot_surf,
Roc.plot, Adjacency.plot_silhouette and friends — organized into focused
submodules:
- brain: surface plots and flatmaps
- adjacency: adjacency matrix visualizations (silhouette, label distance)
- prediction: model output plots (ROC, decision margin, regression, probability)
- decomposition: ICA/PCA component viewer
Functions:
| Name | Description |
|---|---|
component_viewer |
Interactively view the results of a |
Functions:¶
component_viewer ¶
Interactively view the results of a BrainData.decompose() run.
Each component is drawn with nilearn's plot_stat_map above its time
course and power spectrum, with number boxes for the component index and the
display threshold.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output
|
dict
|
Output dictionary from |
required |
tr
|
float
|
Repetition time of the data in seconds. Default 2.0. |
2.0
|
Note
Returns nothing; the interactive widgets render inline.