Measure salience at receptive field center of a neuron. More...
#include <Neuro/SimulationViewerEyeMvtNeuro.H>
Public Member Functions | |
Constructors and destructors | |
SimulationViewerEyeMvtNeuro (OptionManager &mgr, const std::string &descrName="EyeMvtNeuro Simulation Viewer", const std::string &tagName="SimulationViewerEyeMvtNeuro") | |
Constructor. See ModelComponent.H. | |
virtual | ~SimulationViewerEyeMvtNeuro () |
Destructor. | |
Protected Member Functions | |
SIMCALLBACK_DECLARE (SimulationViewerEyeMvtNeuro, SimEventClockTick) | |
Callback for every clock tick. | |
SIMCALLBACK_DECLARE (SimulationViewerEyeMvtNeuro, SimEventSaveOutput) | |
Callback for every time we should save our outputs. | |
void | save1 (const ModelComponentSaveInfo &sinfo) |
Save our various results. | |
virtual Image< PixRGB< byte > > | getTraj () |
Get the attention/eye/head trajectory image. | |
virtual void | start1 () |
get started | |
virtual void | stop1 () |
get stopped | |
virtual void | doEventRetinaImage (SimEventQueue &q, rutz::shared_ptr< SimEventRetinaImage > &e) |
process retinal images | |
Protected Attributes | |
OModelParam< bool > | itsSaveTraj |
save trajectory? | |
OModelParam< bool > | itsSaveMegaCombo |
save mega combo? | |
OModelParam< int > | itsDelayCacheSize |
size of our delay cache | |
OModelParam< int > | itsEyePatchSize |
size of marker at eye position | |
OModelParam< LevelSpec > | itsLevelSpec |
our levelspec | |
OModelParam< bool > | itsUseDiagColor |
use eye movement diagnostic colors | |
OModelParam< int > | itsMaxComboWidth |
max width of getTraj() | |
OModelParam< bool > | itsShiftInput |
NModelParam< bool > | itsUseSpaceVariantBoundary |
shift input to eye position? | |
OModelParam< std::string > | itsOutFname |
Our results file. | |
OModelParam< Point2D< float > > | itsProbe |
OModelParam< float > | itsRFSize |
location of virtual probe | |
OModelParam< std::string > | itsRFMaskName |
size of the neurons receptive field | |
OModelParam< std::string > | itsNeuronFileName |
name of the rf weighting mask | |
OModelParam< bool > | itsDisplayTime |
a text file with spike datax | |
OModelParam< int > | itsDelaySpike |
display the sample time | |
OModelParam< SimTime > | itsBufferLength |
delay our neurons data by this # of samples | |
OModelParam< float > | itsSalScale |
length of plotting buffer | |
OModelParam< float > | itsNeuroScale |
y-axis scale of 1D saliency plots | |
OModelParam< std::string > | itsVisRFName |
name of visual rf output file | |
OModelParam< std::string > | itsMotRFName |
name of motor rf output file | |
OModelParam< SimTime > | itsMotWindow |
window for motor rf | |
OModelParam< SimTime > | itsVisWindow |
window for visual rf | |
OModelParam< SimTime > | itsVisOffset |
offset for visual rf |
Measure salience at receptive field center of a neuron.
Definition at line 100 of file SimulationViewerEyeMvtNeuro.H.
SimulationViewerEyeMvtNeuro::SimulationViewerEyeMvtNeuro | ( | OptionManager & | mgr, | |
const std::string & | descrName = "EyeMvtNeuro Simulation Viewer" , |
|||
const std::string & | tagName = "SimulationViewerEyeMvtNeuro" | |||
) |
Constructor. See ModelComponent.H.
Definition at line 66 of file SimulationViewerEyeMvtNeuro.C.
References ModelComponent::getManager(), OPT_ShapeEstimatorMode, and OptionManager::setOptionValString().
SimulationViewerEyeMvtNeuro::~SimulationViewerEyeMvtNeuro | ( | ) | [virtual] |
Destructor.
Definition at line 120 of file SimulationViewerEyeMvtNeuro.C.
void SimulationViewerEyeMvtNeuro::doEventRetinaImage | ( | SimEventQueue & | q, | |
rutz::shared_ptr< SimEventRetinaImage > & | e | |||
) | [protected, virtual] |
process retinal images
Reimplemented from SimulationViewerAdapter.
Definition at line 245 of file SimulationViewerEyeMvtNeuro.C.
References OModelParam< T >::getVal(), Dims::h(), itsBufferLength, SVEMNPlot::PlotBuf::reset(), Image< T >::resize(), and Dims::w().
Get the attention/eye/head trajectory image.
Definition at line 509 of file SimulationViewerEyeMvtNeuro.C.
References composite(), SVEMNPlot::PlotBuf::draw(), Image< T >::getDims(), Image< T >::getHeight(), OModelParam< T >::getVal(), Image< T >::getWidth(), Dims::h(), Image< T >::initialized(), SimulationViewer::itsDisplayInterp, itsMaxComboWidth, itsSaveMegaCombo, Image< T >::resize(), toRGB(), and Dims::w().
Referenced by save1().
void SimulationViewerEyeMvtNeuro::save1 | ( | const ModelComponentSaveInfo & | sinfo | ) | [protected, virtual] |
Save our various results.
Reimplemented from ModelComponent.
Definition at line 629 of file SimulationViewerEyeMvtNeuro.C.
References getTraj(), OModelParam< T >::getVal(), itsSaveMegaCombo, itsSaveTraj, and SRC_POS.
SimulationViewerEyeMvtNeuro::SIMCALLBACK_DECLARE | ( | SimulationViewerEyeMvtNeuro | , | |
SimEventSaveOutput | ||||
) | [protected] |
Callback for every time we should save our outputs.
SimulationViewerEyeMvtNeuro::SIMCALLBACK_DECLARE | ( | SimulationViewerEyeMvtNeuro | , | |
SimEventClockTick | ||||
) | [protected] |
Callback for every clock tick.
void SimulationViewerEyeMvtNeuro::start1 | ( | ) | [protected, virtual] |
get started
add a delay, if any, to our spike vector
set the ploting buffer lengths
Reimplemented from SimModule.
Definition at line 126 of file SimulationViewerEyeMvtNeuro.C.
References Raster::fileExists(), OModelParam< T >::getVal(), NModelParam< T >::getVal(), itsBufferLength, itsDelayCacheSize, itsDelaySpike, itsMotRFName, itsNeuronFileName, itsNeuroScale, itsOutFname, itsRFMaskName, itsRFSize, itsSalScale, itsUseSpaceVariantBoundary, itsVisRFName, Raster::ReadFloat(), SVEMNPlot::PlotBuf::reset(), ImageCache< T >::setMaxSize(), ImageSet< T >::size(), and SimTime::toString().
void SimulationViewerEyeMvtNeuro::stop1 | ( | ) | [protected, virtual] |
get stopped
Reimplemented from ModelComponent.
Definition at line 211 of file SimulationViewerEyeMvtNeuro.C.
References FLOAT_NORM_PRESERVE, OModelParam< T >::getVal(), itsMotRFName, itsVisRFName, and Raster::WriteFloat().
delay our neurons data by this # of samples
Definition at line 149 of file SimulationViewerEyeMvtNeuro.H.
Referenced by doEventRetinaImage(), and start1().
OModelParam<int> SimulationViewerEyeMvtNeuro::itsDelayCacheSize [protected] |
size of our delay cache
Definition at line 133 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<int> SimulationViewerEyeMvtNeuro::itsDelaySpike [protected] |
display the sample time
Definition at line 148 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<bool> SimulationViewerEyeMvtNeuro::itsDisplayTime [protected] |
a text file with spike datax
Definition at line 147 of file SimulationViewerEyeMvtNeuro.H.
OModelParam<int> SimulationViewerEyeMvtNeuro::itsEyePatchSize [protected] |
size of marker at eye position
Definition at line 134 of file SimulationViewerEyeMvtNeuro.H.
our levelspec
Definition at line 135 of file SimulationViewerEyeMvtNeuro.H.
OModelParam<int> SimulationViewerEyeMvtNeuro::itsMaxComboWidth [protected] |
max width of getTraj()
Definition at line 137 of file SimulationViewerEyeMvtNeuro.H.
Referenced by getTraj().
name of motor rf output file
Definition at line 153 of file SimulationViewerEyeMvtNeuro.H.
OModelParam<SimTime> SimulationViewerEyeMvtNeuro::itsMotWindow [protected] |
window for motor rf
Definition at line 154 of file SimulationViewerEyeMvtNeuro.H.
name of the rf weighting mask
Definition at line 146 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<float> SimulationViewerEyeMvtNeuro::itsNeuroScale [protected] |
y-axis scale of 1D saliency plots
Definition at line 151 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
Our results file.
Definition at line 142 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
size of the neurons receptive field
Definition at line 145 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<float> SimulationViewerEyeMvtNeuro::itsRFSize [protected] |
location of virtual probe
Definition at line 144 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<float> SimulationViewerEyeMvtNeuro::itsSalScale [protected] |
length of plotting buffer
y-axis scale of 1D saliency plots
Definition at line 150 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<bool> SimulationViewerEyeMvtNeuro::itsSaveMegaCombo [protected] |
save mega combo?
Definition at line 132 of file SimulationViewerEyeMvtNeuro.H.
OModelParam<bool> SimulationViewerEyeMvtNeuro::itsSaveTraj [protected] |
save trajectory?
Definition at line 131 of file SimulationViewerEyeMvtNeuro.H.
Referenced by save1().
OModelParam<bool> SimulationViewerEyeMvtNeuro::itsUseDiagColor [protected] |
use eye movement diagnostic colors
Definition at line 136 of file SimulationViewerEyeMvtNeuro.H.
NModelParam<bool> SimulationViewerEyeMvtNeuro::itsUseSpaceVariantBoundary [protected] |
shift input to eye position?
use space variant boundary
Definition at line 139 of file SimulationViewerEyeMvtNeuro.H.
Referenced by start1().
OModelParam<SimTime> SimulationViewerEyeMvtNeuro::itsVisOffset [protected] |
offset for visual rf
Definition at line 156 of file SimulationViewerEyeMvtNeuro.H.
name of visual rf output file
Definition at line 152 of file SimulationViewerEyeMvtNeuro.H.
OModelParam<SimTime> SimulationViewerEyeMvtNeuro::itsVisWindow [protected] |
window for visual rf
Definition at line 155 of file SimulationViewerEyeMvtNeuro.H.