aspsim.diagnostics.core.InstantDiagnostic
- class aspsim.diagnostics.core.InstantDiagnostic(sim_info, save_at=None, export_func='plot', keep_only_last_export=False, export_kwargs=None, preprocess=None)
Bases:
Diagnostic
- save_at_idx is an iterable which gives all indices for which to save data.
Must be an integer multiple of the block size. (maybe change to must be equal or larger than the block size)
- __init__(sim_info, save_at=None, export_func='plot', keep_only_last_export=False, export_kwargs=None, preprocess=None)
- save_at_idx is an iterable which gives all indices for which to save data.
Must be an integer multiple of the block size. (maybe change to must be equal or larger than the block size)
Methods
__init__
(sim_info[, save_at, export_func, ...])save_at_idx is an iterable which gives all indices for which to save data.
get_output
()get_processed_output
(time_idx, preprocess)next_export
()next_save
()progress_export
()progress_save
(progress_until)save
(processor, sig, chunk_interval, ...)Attributes
export_functions
- get_processed_output(time_idx, preprocess)