Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To indicate that your animal is actually fixating at that position, send the following message:

"FixationSpotPosition CalibrateEyePosition <X> <Y> <ScreenWidth> <ScreenHeight>"

Future directions:

Integrate plotting of eye position as a function of trials into PSTH.where X,Y is the position of the fixation spot.

 

Calibration procedures:

Currently, only fixed gain is implemented. That is, the user manually input the gain of each channel, and when a CalibrateEyePosition message arrives, it calculates the offset using the following equation:

Offset = RawEyePositionSignal - (FixationSpotPosition-ScreenCenter) / Gain


Future implementation will include automatic calculation of both gain and offset from two (or more) subsequent calls of "CalibrateEyePosition" (using least squares fit).