aspsim.diagnostics.core.StateDiagnostic

class aspsim.diagnostics.core.StateDiagnostic(sim_info, export_at=None, save_frequency=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, export_at=None, save_frequency=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[, export_at, ...])

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)