Class epsic::lognormal_mode

class lognormal_mode : public epsic::modulated_mode

modulates a source by a scalar with a lognormal distribution

Public Functions

inline lognormal_mode(mode *s, double beta)

initialize based on the modulation index \( \beta \)

inline void set_beta(double beta)

set the modulation index \( \beta \)

inline double get_beta() const

get the modulation index \( \beta \)

inline double get_log_sigma() const

return the standard deviation of the logarithm of amplitude

inline virtual double modulation()

return a random scalar modulation factor with a lognormal distribution

inline virtual double get_mod_mean() const

return the expected mean of the amplitude-modulating function

inline virtual double get_mod_variance() const

return the expected variance of the amplitude-modulating function