sisl.mixing.BaseHistoryMixer
- class sisl.mixing.BaseHistoryMixer(weight=0.2, history=0)
Bases:
BaseMixer
Base class mixer with history
Methods
set_history
(history)Replace the current history in the mixer with a new one
set_weight
(weight)Set a new weight for this mixer
History object tracked by this mixer
This mixers mixing weight, the weight is the fractional contribution of the derivative
- property history
History object tracked by this mixer
- set_weight(weight)
Set a new weight for this mixer
- Parameters
weight (float) – the new weight for this mixer, it must be bigger than 0
- property weight
This mixers mixing weight, the weight is the fractional contribution of the derivative