sisl.mixing.LinearMixer
- class sisl.mixing.LinearMixer(weight=0.2)
Bases:
BaseMixer
Linear mixing
The linear mixing is solely defined using a weight, and the resulting functional may then be calculated via:
\[f^{i+1} = f^i + w \delta f^i\]- Parameters
weight (float, optional) – mixing weight
Methods
set_weight
(weight)Set a new weight for this mixer
This mixers mixing weight, the weight is the fractional contribution of the derivative
- 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