Differences between revisions 2 and 11 (spanning 9 versions)
Revision 2 as of 2008-05-09 11:03:19
Size: 2514
Editor: hih-kn-2301-01
Comment:
Revision 11 as of 2008-05-13 11:04:39
Size: 4377
Editor: hih-kn-2301-01
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
#pragma section-numbers 2
Line 6: Line 6:
<<TableOfContents(4)>>
Line 8: Line 9:
Line 10: Line 10:
   Acquired samples per second by the daq card.   . Acquired samples per second by the daq card.
Line 13: Line 13:
   The ID of the analog input subdevice (find out via {{{comedi_test -t info}}}).   . The ID of the analog input subdevice (find out via {{{comedi_test -t info}}}).
Line 16: Line 16:
   The ID of the digital input subdevice (find out via {{{comedi_test -t info}}}). If no spikes or comparable digital signals are to be recorded, set this value to -1.   . The ID of the digital input subdevice (find out via {{{comedi_test -t info}}}). If no spikes or comparable digital signals are to be recorded, set this value to -1.
Line 19: Line 19:
   The ID of the digital in-/output subdevice (find out via {{{comedi_test -t info}}}). The trial trigger is on channel 0 output. The other channels may be used for response buttons, reward signals, LEDs and similar things.   . The ID of the digital in-/output subdevice (find out via {{{comedi_test -t info}}}). The trial trigger is on channel 0 output. The other channels may be used for response buttons, reward signals, LEDs and similar things.
Line 22: Line 22:
Line 24: Line 23:
   Path and filename of the last experiment configuration used. Usually this is not modified here.   . Path and filename of the last experiment configuration used. Usually this is not modified here.
Line 27: Line 26:
Line 29: Line 27:
Line 31: Line 28:

  
Currently used horizontal calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:<<BR>> ganze_angle = a + b * x + c * y + d * x^2^ + e * x * y + f * y^2^.<<BR>>
  
Usually this is not modified here.
  . Currently used horizontal calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:<<BR>> ganze_angle = a + b * x + c * y + d * x^2^ + e * x * y + f * y^2^.<<BR>> Usually this is not modified here.
Line 36: Line 31:
   Currently used vertical calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:<<BR>> ganze_angle = a + b * x + c * y + d * x^2^ + e * x * y + f * y^2^.<<BR>>
  
Usually this is not modified here.
  . Currently used vertical calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:<<BR>> ganze_angle = a + b * x + c * y + d * x^2^ + e * x * y + f * y^2^.<<BR>> Usually this is not modified here.
Line 40: Line 34:
   Number of channels used for eye position calibration. Use 1 for x-only mode or 2 for x-y-mode.   . Number of channels used for eye position calibration. Use 1 for x-only mode or 2 for x-y-mode.
Line 43: Line 37:
   Number of calibration coefficients per channel. Order of the polynomial in the above equations. Currently only a value of 6 is implemented.   . Number of calibration coefficients per channel. Order of the polynomial in the above equations. Currently only a value of 6 is implemented.
Line 46: Line 40:
Line 48: Line 41:
   Number of channels used for eye position measurement. Currently only a value of 2 is implemented.<<BR>>Usually this is not modified here.   . Number of channels used for eye position measurement. Currently only a value of 2 is implemented.<<BR>>Usually this is not modified here.
Line 51: Line 44:
   Device ID for eye movement data acquisition. Usually 0.   . Device ID for eye movement data acquisition. Usually 0.
Line 54: Line 47:
   Subdevice ID for eye movement data acquisition. Usually equals DAQ/SUBDEVICE_ID_AIN.   . Subdevice ID for eye movement data acquisition. Usually equals DAQ/SUBDEVICE_ID_AIN.
Line 57: Line 50:
   ID of channel for horizontal eye position.   . ID of channel for horizontal eye position. Usually 0.
Line 60: Line 53:
   ID of channel for vertical eye position.   . ID of channel for vertical eye position. Usually 1.

== Local system setup ==
=== Monitor ===
 * {{{ Distance }}}
  . Viewing distance between eyes and screen in mm.

 * {{{ Frame rate }}}
  . Refresh rate of the screen.

 * {{{ Height }}}
  . Height of the screen in mm.

 * {{{ Width }}}
  . Width of the screen in mm.

==== Resolution ====
 * {{{ Horizontal }}}
  . Number of horizontal pixels (columns).

 * {{{ Vertical }}}
  . Number of vertical pixels (rows).

== Stimuli ==
 * {{{ Clear Screen at the End of Experiment }}}
  . If activated, the screen is cleared when the experiment is finished or stopped.

 * {{{ Frameerror handling }}}
  . 0: strict, system assumes that calculation of a new frame lasts less than 1/framerate seconds.<<BR>> 1: tolerant, system allows the frame calculation to be longer than 1/framerate seconds. Especially useful in conjunction with movie primitives.

 * {{{ Minimum trial duration }}}
  . Use this parameter, if you want to ensure, that the time between the start of two consecutive trials is constant. Deactivated, if set to -1.

== Stimulus window ==
Parameters defining the graphics output. You will have to restart nrec to apply these settings.

 * {{{ Full screen }}}
  . If activated, the whole screen is used instead of a window.

 * {{{ Graphics system }}}
  . DirectFB is obsolete. Use "X Window".

 * {{{ Height }}}
  . Number of vertical pixels (rows).

 * {{{ Width }}}
  . Number of horizontal pixels (columns).

 * {{{ X Display Name }}}
  . Choose the appropriate X Display. For Notebooks e.g., the external screen normally is :0.1<<BR>> __Caution:__ If the chosen display is not GLX capable, nrec might not start up anymore. You will then have to edit .nrec.cfg manually or using a XML-editor and set this parameter back to a valid value.

Documentation of nrec Parameters

1. Data Acquisition

  •  sampling rate 

    • Acquired samples per second by the daq card.
  •  SubdeviceID for AIn eye position recording (16ch) 

    • The ID of the analog input subdevice (find out via comedi_test -t info).

  •  SubdeviceID for DIn spike recording (24ch) 

    • The ID of the digital input subdevice (find out via comedi_test -t info). If no spikes or comparable digital signals are to be recorded, set this value to -1.

  •  SubdeviceID for other DIO (8ch) 

    • The ID of the digital in-/output subdevice (find out via comedi_test -t info). The trial trigger is on channel 0 output. The other channels may be used for response buttons, reward signals, LEDs and similar things.

2. Experiment file

  •  Experiment file 

    • Path and filename of the last experiment configuration used. Usually this is not modified here.

3. Eye position module

3.1. Calibration

  •  Channel 0 

    • Currently used horizontal calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:
      ganze_angle = a + b * x + c * y + d * x2 + e * x * y + f * y2.
      Usually this is not modified here.

  •  Channel 1 

    • Currently used vertical calibration coefficients. These are the 6 coefficients a,b,c,d,e,f in the voltage (x) to gaze_angle funtion:
      ganze_angle = a + b * x + c * y + d * x2 + e * x * y + f * y2.
      Usually this is not modified here.

  •  # Channels 

    • Number of channels used for eye position calibration. Use 1 for x-only mode or 2 for x-y-mode.
  •  # Coefficient/channel 

    • Number of calibration coefficients per channel. Order of the polynomial in the above equations. Currently only a value of 6 is implemented.

3.2. Input hardware

  •  # Channels 

    • Number of channels used for eye position measurement. Currently only a value of 2 is implemented.
      Usually this is not modified here.

  •  Device ID 

    • Device ID for eye movement data acquisition. Usually 0.
  •  Subevice ID  

    • Subdevice ID for eye movement data acquisition. Usually equals DAQ/SUBDEVICE_ID_AIN.
  •  X Channel ID 

    • ID of channel for horizontal eye position. Usually 0.
  •  Y Channel ID 

    • ID of channel for vertical eye position. Usually 1.

4. Local system setup

4.1. Monitor

  •  Distance 

    • Viewing distance between eyes and screen in mm.
  •  Frame rate 

    • Refresh rate of the screen.
  •  Height 

    • Height of the screen in mm.
  •  Width 

    • Width of the screen in mm.

4.1.1. Resolution

  •  Horizontal 

    • Number of horizontal pixels (columns).
  •  Vertical 

    • Number of vertical pixels (rows).

5. Stimuli

  •  Clear Screen at the End of Experiment 

    • If activated, the screen is cleared when the experiment is finished or stopped.
  •  Frameerror handling 

    • 0: strict, system assumes that calculation of a new frame lasts less than 1/framerate seconds.
      1: tolerant, system allows the frame calculation to be longer than 1/framerate seconds. Especially useful in conjunction with movie primitives.

  •  Minimum trial duration 

    • Use this parameter, if you want to ensure, that the time between the start of two consecutive trials is constant. Deactivated, if set to -1.

6. Stimulus window

Parameters defining the graphics output. You will have to restart nrec to apply these settings.

  •  Full screen 

    • If activated, the whole screen is used instead of a window.
  •  Graphics system 

    • DirectFB is obsolete. Use "X Window".
  •  Height 

    • Number of vertical pixels (rows).
  •  Width 

    • Number of horizontal pixels (columns).
  •  X Display Name 

    • Choose the appropriate X Display. For Notebooks e.g., the external screen normally is :0.1
      Caution: If the chosen display is not GLX capable, nrec might not start up anymore. You will then have to edit .nrec.cfg manually or using a XML-editor and set this parameter back to a valid value.

... to be continued

nrec: ParameterExplanationNrec (last edited 2015-12-11 09:24:32 by FriedemannBunjes)