sisl.mixing.History
- class sisl.mixing.History
Bases:
objectA history class for retaining a set of history elements
A history class may contain several different variables in a
collections.dequelist allowing easy managing of the length of the history.- Parameters:
history (
int, optional) – number of maximum history elements stored
Methods
append(*variables)Add variables to the history
clear([index])Clear variables to the history
Attributes
Number of elements in the history
Maximum number of elements stored in the history for each variable
- append(*variables)[source]
Add variables to the history
Internally, the list of variables will be added to the queue, it is up to the implementation to use the appended values.