eradiate.scenes.atmosphere.InterpolatorParticleDistribution¶
- class eradiate.scenes.atmosphere.InterpolatorParticleDistribution(*, interpolator)[source]¶
Bases:
ParticleDistributionA flexible particle distribution which redirects its calls to an encapsulated callable [
interpolator].- Parameters:
interpolator (
callable()) – A callable with signaturef(x: np.typing.ArrayLike) -> np.ndarray. Typically, ascipy.interpolate.interp1d.- Fields:
interpolator (
callable()) – A callable with signaturef(x: np.typing.ArrayLike) -> np.ndarray.