sasktran2.mie.distribution.ParticleSizeDistribution#
- class sasktran2.mie.distribution.ParticleSizeDistribution(identifier: str)[source]#
Bases:
ABCAbstract class to define particle size distributions that Mie parameters can be integrated over. This class is a light wrapper on top of scipy.stats.rv_continuous which adds some additional information.
- Parameters:
identifier (str) – A unique identifier for the distribution
- __init__(identifier: str) None[source]#
Abstract class to define particle size distributions that Mie parameters can be integrated over. This class is a light wrapper on top of scipy.stats.rv_continuous which adds some additional information.
- Parameters:
identifier (str) – A unique identifier for the distribution
Methods
__init__(identifier)Abstract class to define particle size distributions that Mie parameters can be integrated over.
args()A list of arguments that are required to define this distribution when calling distribution
distribution(**kwargs)Returns back the scipy object representing this distribution
freeze(**kwargs)Freeze some of the arguments of this distribution.
Attributes
Get the unique identifier for this distribution
- abstractmethod args()[source]#
A list of arguments that are required to define this distribution when calling distribution
- abstractmethod distribution(**kwargs) rv_continuous[source]#
Returns back the scipy object representing this distribution
- Return type:
rv_continuous