get_distribution¶
-
sisl.physics.distribution.
get_distribution
(method, smearing=0.1, x0=0.0)¶ Create a distribution function, Gaussian, Lorentzian etc.
See the details regarding the distributions in their respective documentation.
- Parameters
- Returns
a function which accepts one argument
- Return type
callable