Grating Class

(lgnSimulator::Grating)

Virtual class for grating stimulus. More...

Public Functions

Grating(Integrator * const integrator, double spatialFreq, double temporalFreq, double contrast, double phase, double orientation)
~Grating()
double contrast() const
virtual complex<double> fourierTransformAtFrequency(vec2 k, double w) const = 0
vec2 kVec() const
string mask() const
double orientation(bool inDegrees = false) const
double phase(bool inDegrees = false) const
double spatialFreq() const
double temporalFreq() const
virtual double valueAtPoint(vec2 r, double t) const = 0

Reimplemented Public Functions

virtual void computeFourierTransform()
virtual void computeSpatiotemporal()

Detailed Description

Virtual class for grating stimulus.

Member Function Documentation

Grating::Grating(Integrator * const integrator, double spatialFreq, double temporalFreq, double contrast, double phase, double orientation)

Default constructs an instance of Grating.

Grating::~Grating()

Destroys the instance of Grating.

[virtual] void Grating::computeFourierTransform()

[virtual] void Grating::computeSpatiotemporal()

double Grating::contrast() const

[pure virtual] complex<double> Grating::fourierTransformAtFrequency(vec2 k, double w) const

vec2 Grating::kVec() const

string Grating::mask() const

double Grating::orientation(bool inDegrees = false) const

double Grating::phase(bool inDegrees = false) const

double Grating::spatialFreq() const

double Grating::temporalFreq() const

[pure virtual] double Grating::valueAtPoint(vec2 r, double t) const