Grating Class
(lgnSimulator::Grating)Virtual class for grating stimulus. More...
Header: | #include <Grating> |
Inherits: | Stimulus |
Inherited By: | lgnSimulator::CircleMaskGrating, lgnSimulator::CSCircleMaskGrating, lgnSimulator::FullFieldGrating, and lgnSimulator::GaussianMaskGrating |
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() |
- 7 public functions inherited from lgnSimulator::Stimulus
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.