hookeai.simulators.links.utilities.links_out_to_dataset.generate_dataset_plots¶
- generate_dataset_plots(strain_formulation, n_dim, dataset, save_dir=None, is_save_fig=False, is_stdout_display=False)[source]¶
Generate plots for strain-stress material response path data set.
The different plots options must be set manually by means of the corresponding plotting methods arguments.
- Parameters:
strain_formulation ({'infinitesimal', 'finite'}) – Problem strain formulation.
n_dim (int) – Problem number of spatial dimensions.
dataset (torch.utils.data.Dataset) – Time series data set. Each sample is stored as a dictionary where each feature (key, str) data is a torch.Tensor(2d) of shape (sequence_length, n_features).
save_dir (str) – Directory where data set plots are saved. If None, then plots are saved in current working directory.
is_save_fig (bool, default=False) – Save data set plots.
is_stdout_display (bool, default=False) – True if displaying data set plots to standard output device, False otherwise.