shredx.utils.plots.plot_sensor_timeseries#
- shredx.utils.plots.plot_sensor_timeseries(tensor: Float[Tensor, 'timesteps n_sensors dim'], title: str = '', save: bool = False, fname: str = 'plot.pdf') None#
Plot sensor values over time, one subplot per (dimension, sensor) pair.
Subplots are ordered first by dimension, then by sensor, each on its own row.
- Parameters:
- tensorFloat[torch.Tensor, “timesteps n_sensors dim”]
Sensor readings over time.
- titlestr, optional
The title of the plot.
- savebool, optional
Whether to save the plot. Default is False.
- fnamestr, optional
The name of the file to save the plot to. Default is “plot.pdf”.