skneuromsi.core.ndresult.plot_acc module
Plot helper for the Result object.
- class skneuromsi.core.ndresult.plot_acc.ResultPlotter(result)[source]
Bases:
AccessorABCMake plots of Result.
Kind of plot to produce: - line_positions - line_times
- Parameters:
result (NDResult) – The NDResult object for which to create plots.
- line_positions(time=None, **kwargs)[source]
Create a line plot of positions at a specific time.
- Parameters:
time (float or None, optional) – The time at which to plot the positions. If None, the maximum time from the result will be used. Default is None.
**kwargs – Additional keyword arguments to pass to seaborn.lineplot().
- Returns:
axes – The plotted axes.
- Return type:
numpy.ndarray
- linep(time=None, **kwargs)
Create a line plot of positions at a specific time.
- Parameters:
time (float or None, optional) – The time at which to plot the positions. If None, the maximum time from the result will be used. Default is None.
**kwargs – Additional keyword arguments to pass to seaborn.lineplot().
- Returns:
axes – The plotted axes.
- Return type:
numpy.ndarray
- line_times(position=None, **kwargs)[source]
Create a line plot of time series at a specific position.
- Parameters:
position (float or None, optional) – The position at which to plot the time series. If None, the position with the maximum value from the result will be used. Default is None.
**kwargs – Additional keyword arguments to pass to seaborn.lineplot().
- Returns:
ax – The plotted axes.
- Return type:
numpy.ndarray
- linet(position=None, **kwargs)
Create a line plot of time series at a specific position.
- Parameters:
position (float or None, optional) – The position at which to plot the time series. If None, the position with the maximum value from the result will be used. Default is None.
**kwargs – Additional keyword arguments to pass to seaborn.lineplot().
- Returns:
ax – The plotted axes.
- Return type:
numpy.ndarray