Class epsic::mode_decorator

class mode_decorator : public epsic::mode

Allows a mode to be dynamically modified and extended at runtime.

Subclassed by epsic::boxcar_mode, epsic::field_transformer

Public Functions

inline virtual void set_Stokes(const Stokes<double> &mean)

Set the expected mean Stokes parameters.

inline virtual Stokes<double> get_Stokes()

Get the expected mean Stokes parameters.

inline virtual Matrix<4, 4, double> get_covariance() const

Return the expected covariances between the Stokes parameters.

inline virtual Stokes<double> get_mean() const

Get the expected mean Stokes parameters.

inline virtual Spinor<double> get_field()

Return a random instance of the electric field vector.

inline virtual BoxMuller *get_normal()

Return BoxMuller object used to generate normally distributed numbers.