eradiate.scenes.atmosphere.InterpolatorParticleDistribution
eradiate.scenes.atmosphere.InterpolatorParticleDistribution#
- class eradiate.scenes.atmosphere.InterpolatorParticleDistribution(*, interpolator)[source]#
Bases:
eradiate.scenes.atmosphere._particle_dist.ParticleDistribution
A flexible particle distribution which redirects its calls to an encapsulated callable.
- 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
.