psycho-spatial-memory.C File Reference

#include "Component/ModelManager.H"
#include "Image/Image.H"
#include "Psycho/PsychoDisplay.H"
#include "Psycho/EyeTrackerConfigurator.H"
#include "Psycho/EyeTracker.H"
#include "Psycho/PsychoOpts.H"
#include "Component/EventLog.H"
#include "Component/ComponentOpts.H"
#include "Raster/Raster.H"
#include "Util/MathFunctions.H"
#include "Util/Types.H"
#include "GameBoard/basic-graphics.H"
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <vector>
#include <string>
#include <iostream>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL/SDL_mixer.h>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <time.h>
#include "Image/DrawOps.H"
#include "GameBoard/resize.h"
#include <fstream>
#include <set>
#include <algorithm>
#include <ctime>
Include dependency graph for psycho-spatial-memory.C:

Go to the source code of this file.

Functions

nub::soft_ref< PsychoDisplayd (new PsychoDisplay(manager))
template<class T >
std::string stringify (T i)
double getAvarage (vector< long > v)
double getVariance (vector< long > v)
bool itIsInThere (int x, vector< int > bag)
string ascSort (string st)
string desSort (string st)
string getARandomString (uint l, string alphabet="0123456789")
string digitMemorizationTask (uint l, string alphabet="0123456789", int displayFrame=10)
void scramble (vector< string > &v)
SDL_Surface * getButtonImage (string label, PixRGB< byte > txtcolor=PixRGB< byte >(0, 0, 0), PixRGB< byte > bgcolor=PixRGB< byte >(255, 255, 255), Point2D< int > size=Point2D< int >(100, 100), PixRGB< byte > bordercolor=PixRGB< byte >(0, 0, 0), int border=3)
SDL_Surface * getKeyPad (string alphabet, map< string, SDL_Rect > &buttmap)
string getPressedButtonCommand (map< string, SDL_Rect > &buttmap, Point2D< int > offset=Point2D< int >(0, 0))
string getDigitSequenceFromSubject (string alphabet="0123456789", uint maxl=7)
bool isAnswerCorrect (string test, string answer, int mode)
int addArgument (const string st, const string delim="=")
std::string getArgumentValue (string arg)
void displayWholeNumber (string s, int onsetTime, int wsd)
void displayWholeNumberVertically (string s, int onsetTime, int wsd)
void displayRandom (string s, int onsetTime)
void displayLinear (string s, int onsetTime)
void displayLinearReverse (string s, int onsetTime)
void displayLinearRandom (string s, int onsetTime)
void displayLinearRandomVertically (string s, int onsetTime)
void displayLinearRandomNoRepeating (string s, int onsetTime)
void showMask (int frames, string alphabet="0123456789")
vector< int > spatial_memory_task (int onsetTime, int isd, int rad=100, int ma=45, int Ma=90)
int spatial_memory_retrival (vector< int > angles, int rad=100)
vector< int > executive_memory_task (Mix_Music *tone1, Mix_Music *tone2, string initial_string, int counter_length, int min_tone_wait, int max_tone_wait)
std::string getUsageComment ()
int main (const int argc, char **argv)

Variables

ModelManager manager ("Psycho-Spatial-Memory")
map< uint, uinttestMap
map< string, stringargMap
map< string, vector< SDL_Rect * > * > clipsmap

Detailed Description

Psychophysics test to measure the effect of executive tasks on spatial memory

Definition in file psycho-spatial-memory.C.

Generated on Sun May 8 08:42:37 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3