<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://terminologies.g-node.org/_resources/odmlDocument.xsl" xmlns:odml="http://www.g-node.org/odml"?>
<!-- ********************************************************* -->
<!--                      Sinewave stimulus                    -->
<!-- ********************************************************* -->
<odML version="1.1">
  <repository>https://terminologies.g-node.org/v1.1/terminologies.xml</repository>
  <version>1.0</version>
  <date>2011-01-21</date>

  <section>
    <type>stimulus/sine_wave</type>
    <name>Sinewave</name>
    <definition>Properties to describe a sinewave stimulus.</definition>

    <property>
      <name>Modality</name>
      <definition>The stimulus modality like acoustic, haptic, light etc.</definition>
      <type>string</type>
    </property>

    <property>
      <name>Duration</name>
      <definition>The duration of the stimulus in seconds.</definition>
      <type>float</type>
      <unit>s</unit>
    </property>

    <property>
      <name>TemporalOffset</name>
      <definition>The temporal offset (with respect to the begin of the recorded trial) with which this stimulus was
        presented.
      </definition>
      <type>float</type>
      <unit>s</unit>
    </property>

    <property>
      <name>Function</name>
      <definition>The function of the described stimulus. E.g. if the white noise constituted the carrier.</definition>
      <type>string</type>
    </property>

    <property>
      <name>OutputChannel</name>
      <definition>The physical output device (e.g. an analog output channel, a monitor screen, the same loudspeaker,
        etc.). This information can be used to explicitly express that several stimuli (that share the same
        OutputChannel) are jointly presented.
      </definition>
      <type>string</type>
    </property>

    <property>
      <name>Frequency</name>
      <definition>The frequency of the sinewave stimulation.</definition>
      <type>float</type>
      <unit>Hz</unit>
    </property>

    <property>
      <name>Phase</name>
      <definition>Phase shift of the sinewave.</definition>
      <type>float</type>
      <unit>Hz</unit>
    </property>

    <property>
      <name>Amplitude</name>
      <definition>Amplitude of the sinewave modulation.</definition>
      <type>float</type>
    </property>

    <property>
      <name>MeanIntensity</name>
      <definition>The mean intensity of the stimulus.</definition>
      <type>float</type>
    </property>

    <property>
      <name>Position</name>
      <definition>The position of the stimulus on e.g the screen. Specified as a 2-tuple (x;y). By default this position
        refers to the top-left corner of the object or its bounding box.
      </definition>
      <type>2-tuple</type>
    </property>

    <property>
      <name>PositionReference</name>
      <value>[top-left, center, bottom-right]</value>
      <definition>By default stimulus positions are specified by the coordinates of the top-left corner (or of the
        bounding box). Use this property for other definitions.
      </definition>
      <type>string</type>
    </property>

    <property>
      <name>SpatialExtent</name>
      <definition>The spatial extend of the presented stimulus (width;height) e.g. (1024;768).</definition>
      <type>2-tuple</type>
    </property>

  </section>
</odML>
