<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="data-paper">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. ICT</journal-id>
<journal-title>Frontiers in ICT</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. ICT</abbrev-journal-title>
<issn pub-type="epub">2297-198X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fict.2017.00001</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>ICT</subject>
<subj-group>
<subject>Code</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Toolbox for Emotional feAture extraction from Physiological signals (TEAP)</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Soleymani</surname> <given-names>Mohammad</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor1">&#x0002A;</xref>
<uri xlink:href="http://frontiersin.org/people/u/182170"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Villaro-Dixon</surname> <given-names>Frank</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://frontiersin.org/people/u/354521"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Pun</surname> <given-names>Thierry</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://frontiersin.org/people/u/177996"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Chanel</surname> <given-names>Guillaume</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://frontiersin.org/people/u/182475"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Swiss Center for Affective Sciences, University of Geneva</institution>, <addr-line>Geneva</addr-line>, <country>Switzerland</country></aff>
<aff id="aff2"><sup>2</sup><institution>CVML Laboratory, Computer Science Department, University of Geneva</institution>, <addr-line>Geneva</addr-line>, <country>Switzerland</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Nadia Bianchi-Berthouze, University College London, UK</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Raymond Robert Bond, Ulster University, UK; Elisabeth Andr&#x000E9;, Augsburg University, Germany</p></fn>
<corresp content-type="corresp" id="cor1">&#x0002A;Correspondence: Mohammad Soleymani, <email>mohammad.soleymani&#x00040;unige.ch</email></corresp>
<fn fn-type="other" id="fn002"><p>Specialty section: This article was submitted to Human-Media Interaction, a section of the journal Frontiers in ICT</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>02</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>4</volume>
<elocation-id>1</elocation-id>
<history>
<date date-type="received">
<day>08</day>
<month>06</month>
<year>2016</year>
</date>
<date date-type="accepted">
<day>20</day>
<month>01</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 Soleymani, Villaro-Dixon, Pun and Chanel.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>Soleymani, Villaro-Dixon, Pun and Chanel</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>Physiological response is an important component of an emotional episode. In this paper, we introduce a Toolbox for Emotional feAture Extraction from Physiological signals (TEAP). This open source toolbox can preprocess and calculate emotionally relevant features from multiple physiological signals, namely, electroencephalogram (EEG), galvanic skin response (GSR), electromyogram (EMG), skin temperature, respiration pattern, and blood volume pulse. The features from this toolbox are tested on two publicly available databases, i.e., MAHNOB-HCI and DEAP. We demonstrate that we achieve similar performance to the original work with the features from this toolbox. The toolbox is implemented in MATLAB and is also compatible with Octave. We hope this toolbox to be further developed and accelerate research in affective physiological signal analysis.</p>
</abstract>
<kwd-group>
<kwd>physiological signals</kwd>
<kwd>emotions</kwd>
<kwd>affective computing</kwd>
<kwd>electroencephalogram signals</kwd>
<kwd>physiological signal processing</kwd>
<kwd>code:MATLAB</kwd>
<kwd>code:Octave</kwd>
<kwd>toolbox</kwd>
</kwd-group>
<contract-num rid="cn01">51NF40-104897</contract-num>
<contract-sponsor id="cn01">Schweizerischer Nationalfonds zur F&#x000F6;rderung der Wissenschaftlichen Forschung<named-content content-type="fundref-id">10.13039/501100001711</named-content></contract-sponsor>
<counts>
<fig-count count="0"/>
<table-count count="3"/>
<equation-count count="0"/>
<ref-count count="32"/>
<page-count count="7"/>
<word-count count="4624"/>
</counts>
</article-meta>
</front>
<body>
<sec id="S1" sec-type="introduction">
<label>1</label> <title>Introduction</title>
<p>Affective computing thrives to teach machines to understand and express emotions (Picard, <xref ref-type="bibr" rid="B23">1997</xref>). Emotions are multifaceted phenomena with physiological manifestations and bodily expressions (Scherer, <xref ref-type="bibr" rid="B26">2005</xref>). Although the majority of existing methods for automatic emotion recognition are based on audiovisual analysis (D&#x02019;Mello and Kory, <xref ref-type="bibr" rid="B11">2015</xref>), there is a growing body of research on emotion recognition from peripheral and central nervous system physiological responses (Picard et al., <xref ref-type="bibr" rid="B24">2001</xref>; Lisetti and Nasoz, <xref ref-type="bibr" rid="B18">2004</xref>; Chanel et al., <xref ref-type="bibr" rid="B4">2009</xref>, <xref ref-type="bibr" rid="B5">2011</xref>; Kolodyazhniy et al., <xref ref-type="bibr" rid="B15">2011</xref>; Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>; Soleymani et al., <xref ref-type="bibr" rid="B31">2012b</xref>; M&#x000FC;hl et al., <xref ref-type="bibr" rid="B20">2014</xref>). There are certain advantages for using physiological signals for emotion recognition compared to the audiovisual signals; for example, they cannot be easily faked, they do not require a front facing camera, and they can be used in any illumination and in noisy environments. Moreover, they can be combined with audiovisual modalities to construct a more robust and accurate multimodal emotion recognizer (D&#x02019;Mello and Kory, <xref ref-type="bibr" rid="B11">2015</xref>).</p>
<p>In order to train machines to automatically recognize emotions, we use machine learning techniques. Typically, the procedure includes translating raw signals to a lower dimensional representation space (features) that will be fed into a statistical model. Current physiological feature extraction methods involve calculating statistical moments and time-frequency analysis over segments of physiological signals with the goal of generating emotionally discriminative features. For example, heart rate increase is associated with excitement and activation (arousal) and, as a result, we extract heart rate as a feature for detecting arousal or the level of activation.</p>
<p>To extract features from physiological signals, one can implement methods that translate raw signals into features. Emotional features extracted from physiological signals are often based on the previous work in psychophysiology (Kreibig, <xref ref-type="bibr" rid="B16">2010</xref>). To facilitate research on physiological signal analysis, a number of tools have been developed to the benefit of the community, e.g., EEGLAB (Delorme and Makeig, <xref ref-type="bibr" rid="B10">2004</xref>). To the best of our knowledge, the Augsburg Biosignal Toolobox (AuBT) (Wagner et al., <xref ref-type="bibr" rid="B32">2005</xref>) is the only toolbox available with the goal of extracting emotionally significant physiological features. However, the number of features and the type of signals in AUBT are limited. In this paper, we introduce a Toolbox for Emotional feAture extraction using Physiological signals or TEAP. We aim to create an open source platform that can be further extended by the community with the goal of advancing the field of affective physiological signal analysis. We developed TEAP in MathWorks MATLAB but it also works with Octave, its free alternative. TEAP is able to preprocess and extract features from multiple central and peripheral physiological signals including electroencephalogram (EEG), galvanic skin response (GSR), electrocardiogram (ECG), blood volume pulse (BVP), skin temperature, respiration pattern, and electromyogram (EMG). New physiological channels can be easily added to this toolbox and the implemented statistical and time-frequency analysis functions can be applied on any signal.</p>
<p>TEAP is designed to be useful for both novice and advanced users. A user can simply choose the desired features, define the channels in the input files, and extract physiological features. More advanced users are able to add new functionalities and modules, including support for new signals.</p>
</sec>
<sec id="S2">
<label>2</label> <title>Toolboxes for Physiological Signal Processing</title>
<p>In this section, we review the existing freely available and open source tools for physiological signal analysis. There are a number of toolboxes for processing physiological signals and most of them are tuned for only one type of signal. For instance, EEGLAB (Delorme and Makeig, <xref ref-type="bibr" rid="B10">2004</xref>) and FieldTrip (Oostenveld et al., <xref ref-type="bibr" rid="B21">2011</xref>) are dedicated to brain signal analysis, focusing on signals such as EEG and magnetoencephalogram (MEG). There are also tools for analyzing peripheral physiological signals such as Kubios,<xref ref-type="fn" rid="fn1"><sup>1</sup></xref> which analyzes heart rate variability, Ledalab (Benedek and Kaernbach, <xref ref-type="bibr" rid="B3">2010</xref>), and PsPM (Bach and Friston, <xref ref-type="bibr" rid="B2">2013</xref>), which focus on the analysis of galvanic skin responses. There are also tools for analyzing a wide range of physiological signals including Biosig (Schlogl and Brunner, <xref ref-type="bibr" rid="B27">2008</xref>) and the ANSLAB.<xref ref-type="fn" rid="fn2"><sup>2</sup></xref> Tools dedicated to one specific physiological signal offer advanced functionalities (e.g., source reconstruction). More general purpose tools handle a diverse range of signals with a more limited set of choices for their analysis. The spirit of TEAP is to allow for the processing of several types of signals, e.g., BVP, ECG, EEG, while maintaining the possibility to extract specific features from each signal. In addition, its architecture and license permits further development in the future.</p>
<p>Most of existing toolboxes requires to have some knowledge about physiological signal processing. In contrast, TEAP can serve researchers who aim at developing data-driven techniques with limited knowledge on the nature of physiological signals. Taking advantage of the BioSig code in its data import interface (Schlogl and Brunner, <xref ref-type="bibr" rid="B27">2008</xref>), TEAP accepts several data formats which are traditionally used to store physiological signals (e.g., the EDF&#x02014;(European Data Format), while its output is a design matrix representing a set of features for several samples. The Augsburg Biosignal Toolobox (AuBT) (Wagner et al., <xref ref-type="bibr" rid="B32">2005</xref>) has been designed with the same objective in mind. It can perform feature extraction, feature selection, and classification. However, the AuBT only offers the possibility to extract general features based on statistical moments of signal derivatives (e.g., mean of first derivative). In addition, the AuBT input data should be properly formatted and have limited filtering capabilities. This leads to the need to develop file parsers and to gain knowledge in the properties of physiological signals to build proper preprocessing filters. The reviewed characteristics of the existing and proposed toolboxes are summarized in Table <xref ref-type="table" rid="T1">1</xref>.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p><bold>Relevant open source toolboxes for physiological signal analysis</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Toolbox</th>
<th valign="top" align="left">Signals</th>
<th valign="top" align="left">Language</th>
<th valign="top" align="left">Functionality</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">AuBT</td>
<td align="left" valign="top">GSR, ECG, EMG, and respiration</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Feature extraction and selection, classification</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">EEGLAB (Delorme and Makeig, <xref ref-type="bibr" rid="B10">2004</xref>)</td>
<td align="left" valign="top">EEG, MEG</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Source modeling, time frequency analysis, forward and inverse source modeling</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">FieldTrip (Oostenveld et al., <xref ref-type="bibr" rid="B21">2011</xref>)</td>
<td align="left" valign="top">EEG, MEG</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Time-frequency analysis, source reconstruction and modeling, non-parametric statistical testing</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">Ledalab (Benedek and Kaernbach, <xref ref-type="bibr" rid="B3">2010</xref>)</td>
<td align="left" valign="top">GSR</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Continuous and discrete decomposition analysis, visualization</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">PsPM (Bach and Friston, <xref ref-type="bibr" rid="B2">2013</xref>)</td>
<td align="left" valign="top">GSR</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Modeling</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">Biosig (Schlogl and Brunner, <xref ref-type="bibr" rid="B27">2008</xref>)</td>
<td align="left" valign="top">EEG, electrocorticogram (ECoG), ECG, EMG, EOG, respiration</td>
<td align="left" valign="top">Matlab and Octave</td>
<td align="left" valign="top">Data acquisition, artifact processing, feature extraction, classification, modeling, visualization</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">ANSLAB</td>
<td align="left" valign="top">GSR, ECG, EMG, respiration, BVP, continuous arterial pressure, capnography, temperature, accelerometry</td>
<td align="left" valign="top">Matlab</td>
<td align="left" valign="top">Feature extraction and selection, classification</td>
</tr><tr><td align="left" valign="top" colspan="4"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="left" valign="top">EEG, GSR, ECG, BVP, EMG, temperature, respiration</td>
<td align="left" valign="top">Matlab and Octave</td>
<td align="left" valign="top">Feature extraction, visualization</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="S3">
<label>3</label> <title>Technical Specifications</title>
<sec id="S3-1">
<label>3.1</label> <title>Architecture</title>
<p>TEAP has been developed in MATLAB and is compatible with Octave. It is open source and is licensed under the GNU General Public License (GNU GPL). This makes TEAP a completely free and customizable solution. We avoided object oriented programming in MATLAB not to jeopardize Octave compatibility. Although TEAP is programmed without using MATLAB objects, two principal structures are used: <italic>signals</italic> and <italic>bulksigs</italic> (hereafter called bulks); bulks are structures containing <italic>signals</italic>. Functions were created as interfaces to the users to manipulate these two structures. Hence, a user does not need to know how the data are handled by the toolbox in order to use it. However it remains possible to access the content of the structures directly or using the available visualization functions (e.g., <italic>Signal_plot()</italic>).</p>
<p>TEAP can read many data formats including <italic>EDF</italic> and <italic>EEGLAB</italic>. TEAP accepts data recorded from any device as long as the format is supported by Biosig interface, e.g., Biosemi BDF format. Importing EEGLAB data allows performing some preprocessing, which is not available in TEAP. For instance, the raw signals can be segmented using EEGLAB (e.g., according to triggers) and the result can be imported in TEAP. TEAP relies on MATLAB and only requires the signal processing and statistical toolboxes. TEAP can run on the equivalent settings in Octave with its freely available equivalent toolboxes.</p>
<p>The source code and user manuals are available on.<xref ref-type="fn" rid="fn3"><sup>3</sup></xref></p>
</sec>
<sec id="S3-2">
<label>3.2</label> <title>Signals and Features</title>
<p>Each signal currently supported by TEAP is presented below. In addition to this list of signals, we added a template dummy signal (<italic>DMY</italic>), which will facilitate adding new signals and features. The set of features were chosen based on their proven performance in the literature (Kim and Andr&#x000E9;, <xref ref-type="bibr" rid="B13">2008</xref>; Chanel et al., <xref ref-type="bibr" rid="B4">2009</xref>; Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>; Soleymani et al., <xref ref-type="bibr" rid="B30">2012a</xref>). The list of existing features and their descriptions are given in Table <xref ref-type="table" rid="T2">2</xref>.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p><bold>The signals supported by TEAP and features that can be extracted are listed</bold>.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Cha.</th>
<th valign="top" align="left">Feature</th>
<th valign="top" align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">GSR</td>
<td align="left" valign="top">Number of peaks</td>
<td align="left" valign="top">Number of peaks in resistance exceeding 100&#x02009;&#x003A9;</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Amplitude of peaks</td>
<td align="left" valign="top">GSR peak amplitude from the saddle point preceding the peak</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Rise time</td>
<td align="left" valign="top">The time it takes GSR to reach its peak from the saddle point in seconds</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Statistical moments</td>
<td align="left" valign="top">Mean and SD</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">RES</td>
<td align="left" valign="top">Main frequency</td>
<td align="left" valign="top">Frequency at which the power spectrum reaches its maximum value (<italic>f</italic> &#x02208; [0.16, 0.6]<italic>Hz</italic>)</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">PSD</td>
<td align="left" valign="top"><italic>log(P<sub>X</sub>(f)), f</italic> &#x02208; {[0, 0.1], [0.1, 0.2], [0.2, 0.3], [0.3, 0.4], [0.4, 0.7], [0.7, 1.0]}Hz (Wang and Gong, <xref ref-type="bibr" rid="B33">2008</xref>)</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Statistical moments</td>
<td align="left" valign="top">Mean, SD, skewness, and Kurtosis</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">HST</td>
<td align="left" valign="top">PSD</td>
<td align="left" valign="top"><italic>log</italic>(<italic>P<sub>X</sub></italic>(<italic>f</italic>)), <italic>f</italic> &#x02208; {[0, 0.1], [0.1, 0.2]}<italic>Hz</italic> (Wang and Gong, <xref ref-type="bibr" rid="B33">2008</xref>)</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Statistical moments</td>
<td align="left" valign="top">Mean, SD, skewness, and Kurtosis</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">EMG</td>
<td align="left" valign="top">Power</td>
<td align="left" valign="top"><italic>log</italic>(<italic>P<sub>X</sub></italic>(<italic>f</italic>)), <italic>f</italic> &#x02208; [20, <italic>f<sub>s</sub></italic>/2] <italic>Hz</italic></td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Statistical moments</td>
<td align="left" valign="top">Mean, SD, skewness, and Kurtosis</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">ECG</td>
<td align="left" valign="top">IBI</td>
<td align="left" valign="top">Mean IBI, HRV (<italic>std</italic>(<italic>IBI</italic>))</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">MSE</td>
<td align="left" valign="top">Multiscale entropy at 5 levels (Costa et al., <xref ref-type="bibr" rid="B7">2005</xref>)</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Tachogram power</td>
<td align="left" valign="top"><inline-formula><mml:math id="M1"><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></inline-formula> <italic>where LF:f</italic> &#x02208; [0.01, 0.08]<italic>Hz, MF</italic>:]0.08, 0.15]<italic>Hz</italic>, and <italic>HF</italic>:]0.15, 0.4]<italic>Hz</italic></td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">PSD</td>
<td align="left" valign="top"><italic>log</italic>(<italic>P<sub>X</sub></italic>(<italic>f</italic>)), <italic>f</italic> &#x02208; {[0, 0.1],[0.1, 0.2],[0.2, 0.3],[0.3, 0.4]}<italic>Hz</italic> <inline-formula><mml:math id="M2"><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></inline-formula>, <italic>where LF:f</italic> &#x02208; [0.0, 0.08]<italic>Hz</italic> &#x00026; <italic>HF</italic>: <italic>f</italic> &#x02208; [0.15, 5.0]<italic>Hz</italic></td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">BVP</td>
<td align="left" valign="top">IBI</td>
<td align="left" valign="top">Mean IBI, HRV (<italic>std</italic>(<italic>IBI</italic>))</td>
</tr><tr><td align="left" valign="top"/><td align="left" valign="top" colspan="2"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">MSE</td>
<td align="left" valign="top">Multiscale entropy at 5 levels (Costa et al., <xref ref-type="bibr" rid="B7">2005</xref>)</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Tachogram power</td>
<td align="left" valign="top"><inline-formula><mml:math id="M3"><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>M</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></inline-formula>, <italic>where LF</italic>:<italic>f</italic> &#x02208; [0.01, 0.08]<italic>Hz, MF</italic>:]0.08, 0.15]<italic>Hz</italic>, and <italic>HF</italic>:]0.15, 0.4]<italic>Hz</italic></td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">PSD</td>
<td align="left" valign="top"><italic>log</italic>(<italic>P<sub>X</sub></italic>(<italic>f</italic>)), <italic>f</italic> &#x02208; {[0, 0.1],[0.1, 0.2],[0.2, 0.3],[0.3, 0.4]}<italic>Hz</italic> <inline-formula><mml:math id="M4"><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>/</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mi>X</mml:mi><mml:mrow><mml:mi>H</mml:mi><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></inline-formula>, <italic>where LF</italic>:<italic>f</italic> &#x02208; [0.0, 0.08]<italic>Hz</italic> and <italic>HF</italic>:<italic>f</italic> &#x02208; [0.15, 5.0]<italic>Hz</italic></td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top"/>
<td align="left" valign="top">Statistical moments</td>
<td align="left" valign="top">Mean</td>
</tr><tr><td align="left" valign="top" colspan="3"><hr/></td></tr>
<tr>
<td align="left" valign="top">EEG</td>
<td align="left" valign="top">PSD</td>
<td align="left" valign="top"><italic>log</italic>(<italic>P<sub>X</sub></italic>(<italic>f</italic>)) in different bands: <italic>delta</italic>: <italic>f</italic> &#x02208;]0, 4]<italic>Hz, theta</italic>: <italic>f</italic> &#x02208;]4, 8]<italic>Hz, slow alpha</italic>: <italic>f</italic> &#x02208;]8, 10]<italic>Hz, alpha</italic>: <italic>f</italic> &#x02208;]8, 12]<italic>Hz, beta</italic>:<italic>f</italic> &#x02208;]12, 30]<italic>Hz, and gamma</italic>: <italic>f</italic> &#x02208;]30, <italic>f<sub>s</sub></italic>/2]<italic>Hz</italic>)</td>
</tr>
</tbody>
</table>
</table-wrap>
<sec id="S3-2-1">
<label>3.2.1</label> <title>Electrocardiogram&#x02014;ECG</title>
<p>Due to the nature of heart muscles, cardiac activity generates an electrical potential difference, which can be measured by placing electrodes on one&#x02019;s chest. Electrocardiography (ECG or EKG) is a measurement of this electrical activity. ECG signals can be used to detect heart rate (HR) and heart rate variability (HRV). HR and HRV changes are associated with emotions. For example, pleasant emotions increase heart rate response (Lang et al., <xref ref-type="bibr" rid="B17">1993</xref>), and HRV decreases with fear, sadness, and happiness (Rainville et al., <xref ref-type="bibr" rid="B25">2006</xref>). In TEAP, we analyze ECG signals from one lead (a pair of electrodes) to detect inter-beat-interval (IBI) and HRV features. After calculating the IBI, we can construct a tachogram, which is a signal representing IBIs over time. Tachogram can be further used to extract additional HRV features.</p>
</sec>
<sec id="S3-2-2">
<label>3.2.2</label> <title>Blood Volume Pulse&#x02014;BVP</title>
<p>Blood volume pulse (BVP) is the measurement of blood volume in peripheral vessels generally obtained by photoplethysmography. A photoplethysmograph usually consists of a light emitter and detector. The measurement of the reflected light on skin (usually finger) is an indicator of the volume of blood in peripheral vessels. Since blood volume varies by pulse heart rate can be detected from BVP signals. Similar to ECG, TEAP can extract heart rate (HR) and heart rate variability (HRV) related features from BVP.</p>
</sec>
<sec id="S3-2-3">
<label>3.2.3</label> <title>Galvanic Skin Response (GSR)</title>
<p>Galvanic skin response (GSR) is a measurement of electrical resistance (or conductance) on one&#x02019;s skin. Skin&#x02019;s electrical conductance varies with the activity of sweat glands which are controlled by the sympathetic nervous system. GSR responses consists of tonic (slow) and phasic (fast and associated with a stimuli) responses and are related to emotional arousal (Lang et al., <xref ref-type="bibr" rid="B17">1993</xref>; Dawson et al., <xref ref-type="bibr" rid="B9">2000</xref>). TEAP calculates features related to both tonic and phasic responses.</p>
</sec>
<sec id="S3-2-4">
<label>3.2.4</label> <title>Human Skin Temperature&#x02014;HST</title>
<p>Skin temperature is a reflection of blood flow and changes in different emotional states (McFarland, <xref ref-type="bibr" rid="B19">1985</xref>). Although temperature changes are slower than other signals, they are associated with emotional responses (Kreibig, <xref ref-type="bibr" rid="B16">2010</xref>). Skin temperature is measured by attaching a temperature sensor on one&#x02019;s skin. Statistical moments and low frequency power spectral features are extracted from HST by TEAP.</p>
</sec>
<sec id="S3-2-5">
<label>3.2.5</label> <title>Electromyogram (EMG)</title>
<p>Activity of skeletal muscles generates electromyogenic electrical signals (EMG), which can be recorded by means of electrodes attached to the skin covering those muscles. Typically, a pair of electrodes is attached along the muscle of interest to record the electrical potential between two points. Facial and body expressions associated with emotions activate different muscles. One can record emotionally significant expressions using EMG. For example, smiling activates the zygomaticus major (Ekman, <xref ref-type="bibr" rid="B12">2006</xref>). Spectral power density (in <italic>f</italic>&#x02009;&#x0003E;&#x02009;20&#x02009;<italic>Hz</italic>) and statistical moments are calculated by TEAP as features from EMG.</p>
</sec>
<sec id="S3-2-6">
<label>3.2.6</label> <title>Respiration</title>
<p>Respiration pattern can be measured from the expansion of the chest or abdomen circumference. This can be done by a flexible belt with a piezoelectric crystal sensor, which measures the belt&#x02019;s expansion. Respiration pattern (RES) varies by emotional responses. Slow respiration is linked to relaxation and irregular rhythm, quick variations, and cessation of respiration correspond to high arousal, e.g., anger or fear (Rainville et al., <xref ref-type="bibr" rid="B25">2006</xref>; Kim and Andr&#x000E9;, <xref ref-type="bibr" rid="B13">2008</xref>). Principal frequency, power spectral density, and statistical moments are the features that Teap extract from respiration pattern.</p>
</sec>
<sec id="S3-2-7">
<label>3.2.7</label> <title>Electroencephalogram&#x02014;EEG</title>
<p>There is a strong evidence demonstrating the neural activities and circuits engaged in different emotional states (Damasio et al., <xref ref-type="bibr" rid="B8">2000</xref>; Adolphs et al., <xref ref-type="bibr" rid="B1">2003</xref>). Electroencephalogram (EEG) signals are a measurement of electrical neural activity on scalp. EEG signals contain waves in different frequency bands that are associated with different cognitive states. Therefore, power spectral density (PSD) features from different frequency bands are calculated as features in TEAP.</p>
</sec>
</sec>
<sec id="S3-3">
<label>3.3</label> <title>Usage</title>
<p>The goal of this section is to give an example of TEAP&#x02019;s usage. Readers are redirected to the user manual (see text footnote 4) for a more detailed documentation.</p>
<p>Suppose a user has an ECG signal and that they want to extract some features. First, a user shall choose which feature to extract; users can use &#x0201C;include&#x0201D; or &#x0201C;exclude&#x0201D; arguments to add or remove features from the available set of features, or simply extract all available features. With TEAP, the process is as follows:
<list list-type="simple">
<list-item><p><italic>%import probe 1</italic></p></list-item>
<list-item><p>probe1 &#x0003D; csvread ( &#x02019; ECG example_probe1 . csv &#x02019;);</p></list-item>
<list-item><p><italic>%import probe 2</italic></p></list-item>
<list-item><p>probe2 &#x0003D; csvread ( &#x02019; ECG example_probe2 . csv &#x02019;);</p></list-item>
<list-item><p><italic>%create the signal from two electrodes and a given sampling</italic></p></list-item>
<list-item><p><italic>%frequency then display the resulting signal</italic></p></list-item>
<list-item><p>ECG_sig &#x0003D; ECG_aqn_variable (probe1, probe2, 1,024);</p></list-item>
<list-item><p>Signal_plot (ECG_sig);</p></list-item>
<list-item><p><italic>%compute some features (all available features)</italic></p></list-item>
<list-item><p>[ECG_features, ECG_feats_names]&#x0003D; ECG_feat_extr (ECG_sig);</p></list-item>
<list-item><p><italic>%compute one feature (for example average inter_beat intervals)</italic></p></list-item>
<list-item><p>[ECG_features, ECG_feats_names] &#x0003D; ECG_feat_extr (ECG_sig, &#x02019; include &#x02019; , &#x02019; meanIBI &#x02019; );</p></list-item>
<list-item><p><italic>%compute some features (all available features except HRV)</italic></p></list-item>
<list-item><p>[ECG_features, ECG_feats_names] &#x0003D; ECG_feat_extr (ECG_sig , &#x02019; exclude &#x02019; , &#x02019;HRV&#x02019;);</p></list-item>
</list></p>
<p>It should be noted that for some specific signals (e.g., <italic>HST</italic> or <italic>GSR</italic>), a preprocessing, e.g., filtering, will be automatically applied when the signal is loaded; thus, the user does not have to worry about all the necessary steps.</p>
</sec>
</sec>
<sec id="S4">
<label>4</label> <title>Experimental Validation</title>
<p>In order to verify TEAP&#x02019;s performance in emotion recognition, we made use of two publicly available databases to serve as our benchmark, namely MAHNOB-HCI (Soleymani et al., <xref ref-type="bibr" rid="B30">2012a</xref>) and DEAP (Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>). We tried to replicate the work presented in four original articles on these databases, i.e., Soleymani et al. (<xref ref-type="bibr" rid="B29">2011</xref>, <xref ref-type="bibr" rid="B30">2012a</xref>,<xref ref-type="bibr" rid="B31">b</xref>) and Koelstra et al. (<xref ref-type="bibr" rid="B14">2012</xref>). In addition to TEAP, reproduction of these results required LIBSVM (Chang and Lin, <xref ref-type="bibr" rid="B6">2001</xref>). We tried to re-implement the same procedure in terms of cross-validation strategy, feature selection, machine learning models, and evaluation metrics. For MAHNOB-HCI database, we only analyzed the emotion experiment whose original results are published in Soleymani et al. (<xref ref-type="bibr" rid="B30">2012a</xref>,<xref ref-type="bibr" rid="B31">b</xref>). The results of participant-independent cross validation on MAHNOB-HCI database are reported alongside the original results in Table <xref ref-type="table" rid="T3">3</xref>. The regression and classification results on DEAP database are also given in Table <xref ref-type="table" rid="T3">3</xref>. In most cases, TEAP features are performing similarly with small differences compared to the original work, the reasons behind this difference is twofold. First, we shortened and simplified the set of features in TEAP compared to the original work to make them more generally applicable. For example, EEG asymmetry features are not implemented in TEAP, since it depends on the electrode placement and do not make a large difference. Second, even though we tried to replicate the same machine learning models, our hyper-parameter optimization and feature selection slightly differ from the original work. Nevertheless, the results from TEAP features are, in most cases, not significantly different from the original results and validates its effectiveness in capturing emotionally significant representation of physiological signals.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p><bold>The recognition rate and F1 scores of emotion recognition compared to the original work</bold>.</p></caption>
<table frame="hsides" rules="groups">
<tbody>
<tr>
<td valign="top" align="center"/>
<td valign="top" align="center" colspan="4"><bold>Peripheral signals</bold><hr/></td>
<td valign="top" align="center" colspan="4"><bold>EEG signals</bold><hr/></td>
</tr>
<tr>
<td align="center" valign="top" colspan="9"><bold>(Soleymani et al., <xref ref-type="bibr" rid="B30">2012a</xref>) (MAHNOB)&#x02014;inter-participant, 3 classes</bold><hr/></td>
</tr>
<tr>
<td align="center" valign="top"/>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Dimension</bold></td>
<td align="center" valign="top"><bold>Arousal (%)</bold></td>
<td align="center" valign="top"><bold>Valence (%)</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Arousal (%)</bold></td>
<td align="center" valign="top"><bold>Valence (%)</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="center" valign="top">49.3</td>
<td align="center" valign="top">46.0</td>
<td align="center" valign="top">0.347</td>
<td align="center" valign="top">0.346</td>
<td align="center" valign="top">56.1</td>
<td align="center" valign="top">57.7</td>
<td align="center" valign="top">0.489</td>
<td align="center" valign="top">0.557</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">Original</td>
<td align="center" valign="top">46.2</td>
<td align="center" valign="top">45.5</td>
<td align="center" valign="top">0.38</td>
<td align="center" valign="top">0.39</td>
<td align="center" valign="top">52.4</td>
<td align="center" valign="top">57.0</td>
<td align="center" valign="top">0.42</td>
<td align="center" valign="top">0.56</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="center" valign="top" colspan="9"><bold>(Soleymani et al., <xref ref-type="bibr" rid="B31">2012b</xref>)&#x02014;inter-participant, 3 classes</bold><hr/></td>
</tr>
<tr>
<td align="center" valign="top"/>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Dimension</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Arousal (%)</bold></td>
<td align="center" valign="top"><bold>Valence (%)</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="center" valign="top">42.7%</td>
<td align="center" valign="top">41.3%</td>
<td align="center" valign="top">0.315</td>
<td align="center" valign="top">0.375</td>
<td align="center" valign="top">63.0</td>
<td align="center" valign="top">57.1</td>
<td align="center" valign="top">0.618</td>
<td align="center" valign="top">0.546</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">Original</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">62.1</td>
<td align="center" valign="top">50.5</td>
<td align="center" valign="top">0.60</td>
<td align="center" valign="top">0.50</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="center" valign="top" colspan="9"><bold>(Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>) (DEAP)&#x02014;intra-participant, 2 classes (mean)</bold><hr/></td>
</tr>
<tr>
<td align="center" valign="top"/>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Dimension</bold></td>
<td align="center" valign="top"><bold>Arousal (%)</bold></td>
<td align="center" valign="top"><bold>Valence (%)</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Arousal (%)</bold></td>
<td align="center" valign="top"><bold>Valence (%)</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="center" valign="top">55.9</td>
<td align="center" valign="top">58.6</td>
<td align="center" valign="top">0.523</td>
<td align="center" valign="top">0.570</td>
<td align="center" valign="top">60.5</td>
<td align="center" valign="top">65.6</td>
<td align="center" valign="top">0.570</td>
<td align="center" valign="top">0.645<xref ref-type="table-fn" rid="tfn1"><sup>a</sup></xref></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">Original</td>
<td align="center" valign="top">57.0</td>
<td align="center" valign="top">62.7</td>
<td align="center" valign="top">0.533</td>
<td align="center" valign="top">0.608</td>
<td align="center" valign="top">62.0</td>
<td align="center" valign="top">57.6</td>
<td align="center" valign="top">0.583</td>
<td align="center" valign="top">0.563</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="center" valign="top"/>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Classification rate&#x02191;</bold><hr/></td>
<td align="center" valign="top" colspan="2"><bold>Average F1&#x02191;</bold><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Dimension</bold></td>
<td align="center" valign="top"><bold>Liking (%)</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
<td align="center" valign="top"><bold>Liking</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
<td align="center" valign="top"><bold>Liking (%)</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
<td align="center" valign="top"><bold>Liking</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="center" valign="top">54.9</td>
<td align="center" valign="top">58.9%</td>
<td align="center" valign="top">0.494<xref ref-type="table-fn" rid="tfn1"><sup>a</sup></xref></td>
<td align="center" valign="top">0.538</td>
<td align="center" valign="top">58.3</td>
<td align="center" valign="top">58.3%</td>
<td align="center" valign="top">0.534</td>
<td align="center" valign="top">0.533</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">Original</td>
<td align="center" valign="top">59.1</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">0.538</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">55.4</td>
<td align="center" valign="top">&#x02013;</td>
<td align="center" valign="top">0.502</td>
<td align="center" valign="top">&#x02013;</td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="center" valign="top" colspan="9"><bold>(Soleymani et al., <xref ref-type="bibr" rid="B29">2011</xref>)&#x02014;intra-participant, regression, mean absolute error (SD) &#x02193;</bold><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Dimension</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
<td align="center" valign="top"><bold>Liking</bold></td>
<td align="center" valign="top"><bold>Arousal</bold></td>
<td align="center" valign="top"><bold>Valence</bold></td>
<td align="center" valign="top"><bold>Control</bold></td>
<td align="center" valign="top"><bold>Liking</bold></td>
</tr><tr><td align="center" valign="top" colspan="9"><hr/></td></tr>
<tr>
<td align="left" valign="top">TEAP</td>
<td align="center" valign="top">1.65 (0.46)</td>
<td align="center" valign="top">1.75 (0.38)</td>
<td align="center" valign="top">1.69 (0.58)</td>
<td align="center" valign="top">1.97 (0.57)</td>
<td align="center" valign="top">1.61 (0.46)</td>
<td align="center" valign="top">1.71 (0.37)</td>
<td align="center" valign="top">1.68 (0.58)</td>
<td align="center" valign="top">1.92 (0.49)</td>
</tr>
<tr>
<td align="left" valign="top">Original</td>
<td align="center" valign="top">1.70 (0.51)</td>
<td align="center" valign="top">1.81 (0.41)</td>
<td align="center" valign="top">1.64 (0.49)</td>
<td align="center" valign="top">1.96 (0.64)</td>
<td align="center" valign="top">1.53 (0.40)</td>
<td align="center" valign="top">1.59 (0.39)</td>
<td align="center" valign="top">1.53 (0.49)</td>
<td align="center" valign="top">1.78 (0.51)</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="tfn1"><p><italic><sup>a</sup>Implies significant difference (&#x003B1;&#x02009;&#x0003C;&#x02009;0.05) in a two-tailed t-test on F1 scores. We were unable to perform the statistical test for Soleymani et al. (<xref ref-type="bibr" rid="B29">2011</xref>)</italic>.</p></fn></table-wrap-foot></table-wrap>
</sec>
<sec id="S5">
<label>5</label> <title>Conclusion</title>
<p>We propose a new open-source toolbox dedicated to extracting and calculating emotionally relevant representations from physiological signals. This toolbox will facilitate and accelerate research in emotional physiological signals analysis. This toolbox is able to import, preprocess, and visualize its signals. It can export features vectors that can be directly fed to the machine learning models. In this paper, we outlined its abilities and demonstrated its effectiveness according to the publicly available benchmarks. Ideal candidates for future feature implementation include synchronization, intermodality features such as pulse ejection time and event-related potentials (ERP). We hope this toolbox can serve the researchers interested in affective physiological signal analysis.</p>
</sec>
<sec id="S6" sec-type="author-contributor">
<title>Author Contributions</title>
<p>MS and GC developed and adopted the original features (Chanel et al., <xref ref-type="bibr" rid="B4">2009</xref>, <xref ref-type="bibr" rid="B5">2011</xref>; Soleymani et al., <xref ref-type="bibr" rid="B28">2009</xref>, <xref ref-type="bibr" rid="B31">2012b</xref>; Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>). MS performed the experiments and reported the results. FV-D designed the architecture and modules and created the toolbox. TP participated in drafting the article and the discussions.</p>
</sec>
<sec id="S7">
<title>Conflict of Interest Statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</body>
<back>
<sec id="S8">
<title>Funding</title>
<p>The work of MS was supported by his Swiss National Science Foundation Ambizione grant. The work of GC and TP was supported by the National Center of Competence in Research (NCCR) Affective sciences financed by the Swiss National Science Foundation (51NF40-104897) and hosted by the University of Geneva.</p>
</sec>
<sec id="S9" sec-type="supplementary-material">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at <uri xlink:href="http://journal.frontiersin.org/article/10.3389/fict.2017.00001/full&#x00023;supplementary-material">http://journal.frontiersin.org/article/10.3389/fict.2017.00001/full&#x00023;supplementary-material</uri>.</p>
<supplementary-material xlink:href="Code_Archive.ZIP" id="SM1" mimetype="applicationn/ZIP" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Adolphs</surname> <given-names>R.</given-names></name> <name><surname>Tranel</surname> <given-names>D.</given-names></name> <name><surname>Damasio</surname> <given-names>A. R.</given-names></name></person-group> (<year>2003</year>). <article-title>Dissociable neural systems for recognizing emotions</article-title>. <source>Brain Cogn.</source> <volume>52</volume>, <fpage>61</fpage>&#x02013;<lpage>69</lpage>.<pub-id pub-id-type="doi">10.1016/S0278-2626(03)00009-5</pub-id><pub-id pub-id-type="pmid">12812805</pub-id></citation></ref>
<ref id="B2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bach</surname> <given-names>D. R.</given-names></name> <name><surname>Friston</surname> <given-names>K. J.</given-names></name></person-group> (<year>2013</year>). <article-title>Model-based analysis of skin conductance responses: towards causal models in psychophysiology</article-title>. <source>Psychophysiology</source> <volume>50</volume>, <fpage>15</fpage>&#x02013;<lpage>22</lpage>.<pub-id pub-id-type="doi">10.1111/j.1469-8986.2012.01483.x</pub-id><pub-id pub-id-type="pmid">23094650</pub-id></citation></ref>
<ref id="B3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Benedek</surname> <given-names>M.</given-names></name> <name><surname>Kaernbach</surname> <given-names>C.</given-names></name></person-group> (<year>2010</year>). <article-title>Decomposition of skin conductance data by means of nonnegative deconvolution</article-title>. <source>Psychophysiology</source> <volume>47</volume>, <fpage>647</fpage>&#x02013;<lpage>658</lpage>.<pub-id pub-id-type="doi">10.1111/j.1469-8986.2009.00972.x</pub-id><pub-id pub-id-type="pmid">20230512</pub-id></citation></ref>
<ref id="B4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chanel</surname> <given-names>G.</given-names></name> <name><surname>Kierkels</surname> <given-names>J. J. M.</given-names></name> <name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2009</year>). <article-title>Short-term emotion assessment in a recall paradigm</article-title>. <source>Int. J. Hum. Comput. Stud.</source> <volume>67</volume>, <fpage>607</fpage>&#x02013;<lpage>627</lpage>.<pub-id pub-id-type="doi">10.1016/j.ijhcs.2009.03.005</pub-id></citation></ref>
<ref id="B5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chanel</surname> <given-names>G.</given-names></name> <name><surname>Rebetez</surname> <given-names>C.</given-names></name> <name><surname>B&#x000E9;trancourt</surname> <given-names>M.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2011</year>). <article-title>Emotion assessment from physiological signals for adaptation of game difficulty</article-title>. <source>IEEE Trans. Syst. Man Cybern. A Syst. Humans</source> <volume>41</volume>, <fpage>1052</fpage>&#x02013;<lpage>1063</lpage>.<pub-id pub-id-type="doi">10.1109/TSMCA.2011.2116000</pub-id></citation></ref>
<ref id="B6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chang</surname> <given-names>C.-C.</given-names></name> <name><surname>Lin</surname> <given-names>C.-J.</given-names></name></person-group> (<year>2011</year>). <article-title>LIBSVM: a library for support vector machines</article-title>. <source>ACM Trans. Intell. Syst. Technol.</source> <volume>2</volume>, <fpage>1</fpage>&#x02013;<lpage>27</lpage>.<pub-id pub-id-type="doi">10.1145/1961189.1961199</pub-id></citation></ref>
<ref id="B7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Costa</surname> <given-names>M.</given-names></name> <name><surname>Goldberger</surname> <given-names>A. L.</given-names></name> <name><surname>Peng</surname> <given-names>C. K.</given-names></name></person-group> (<year>2005</year>). <article-title>Multiscale entropy analysis of biological signals</article-title>. <source>Phys. Rev. E Stat. Nonlin. Soft Matter Phys.</source> <volume>71</volume>, <fpage>021906</fpage>.<pub-id pub-id-type="doi">10.1103/PhysRevE.71.021906</pub-id><pub-id pub-id-type="pmid">15783351</pub-id></citation></ref>
<ref id="B8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Damasio</surname> <given-names>A. R.</given-names></name> <name><surname>Grabowski</surname> <given-names>T. J.</given-names></name> <name><surname>Bechara</surname> <given-names>A.</given-names></name> <name><surname>Damasio</surname> <given-names>H.</given-names></name> <name><surname>Ponto</surname> <given-names>L. L. B.</given-names></name> <name><surname>Parvizi</surname> <given-names>J.</given-names></name> <etal/></person-group> (<year>2000</year>). <article-title>Subcortical and cortical brain activity during the feeling of self-generated emotions</article-title>. <source>Nat. Neurosci.</source> <volume>3</volume>, <fpage>1049</fpage>&#x02013;<lpage>1056</lpage>.<pub-id pub-id-type="doi">10.1038/79871</pub-id><pub-id pub-id-type="pmid">11017179</pub-id></citation></ref>
<ref id="B9"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Dawson</surname> <given-names>M. E.</given-names></name> <name><surname>Schell</surname> <given-names>A. M.</given-names></name> <name><surname>Filion</surname> <given-names>D. L.</given-names></name></person-group> (<year>2000</year>). <article-title>&#x0201C;The electrodermal system,&#x0201D;</article-title> in <source>Handbook of Psychophysiology</source>, <edition>2nd Edn</edition>, eds <person-group person-group-type="editor"><name><surname>Cacioppo</surname> <given-names>J. T.</given-names></name> <name><surname>Tassinary</surname> <given-names>L. G.</given-names></name> <name><surname>Berntson</surname> <given-names>G. G.</given-names></name></person-group> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>), <fpage>200</fpage>&#x02013;<lpage>223</lpage>.</citation></ref>
<ref id="B10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Delorme</surname> <given-names>A.</given-names></name> <name><surname>Makeig</surname> <given-names>S.</given-names></name></person-group> (<year>2004</year>). <article-title>EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis</article-title>. <source>J. Neurosci. Methods</source> <volume>134</volume>, <fpage>9</fpage>&#x02013;<lpage>21</lpage>.<pub-id pub-id-type="doi">10.1016/j.jneumeth.2003.10.009</pub-id><pub-id pub-id-type="pmid">15102499</pub-id></citation></ref>
<ref id="B11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>D&#x02019;Mello</surname> <given-names>S. K.</given-names></name> <name><surname>Kory</surname> <given-names>J.</given-names></name></person-group> (<year>2015</year>). <article-title>A review and meta-analysis of multimodal affect detection systems</article-title>. <source>ACM Comput. Surv.</source> <volume>47</volume>, <fpage>1</fpage>&#x02013;<lpage>43</lpage>.<pub-id pub-id-type="doi">10.1145/2682899</pub-id></citation></ref>
<ref id="B12"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Ekman</surname> <given-names>P.</given-names></name></person-group> (<year>1990</year>). <article-title>&#x0201C;Duchenne and facial expression of emotion,&#x0201D;</article-title> in <source>The Mechanism of Human Facial Expression</source>, Vol. <volume>48</volume>. (<publisher-loc>Cambridge</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>), <fpage>270</fpage>&#x02013;<lpage>284</lpage>.</citation></ref>
<ref id="B13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname> <given-names>J.</given-names></name> <name><surname>Andr&#x000E9;</surname> <given-names>E.</given-names></name></person-group> (<year>2008</year>). <article-title>Emotion recognition based on physiological changes in music listening</article-title>. <source>IEEE Trans Pattern Anal. Mach. Intell.</source> <volume>30</volume>, <fpage>2067</fpage>&#x02013;<lpage>2083</lpage>.<pub-id pub-id-type="doi">10.1109/TPAMI.2008.26</pub-id><pub-id pub-id-type="pmid">18988943</pub-id></citation></ref>
<ref id="B14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Koelstra</surname> <given-names>S.</given-names></name> <name><surname>Muhl</surname> <given-names>C.</given-names></name> <name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Lee</surname> <given-names>J. S.</given-names></name> <name><surname>Yazdani</surname> <given-names>A.</given-names></name> <name><surname>Ebrahimi</surname> <given-names>T.</given-names></name> <etal/></person-group> (<year>2012</year>). <article-title>DEAP: a database for emotion analysis using physiological signals</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>18</fpage>&#x02013;<lpage>31</lpage>.<pub-id pub-id-type="doi">10.1109/T-AFFC.2011.15</pub-id></citation></ref>
<ref id="B15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kolodyazhniy</surname> <given-names>V.</given-names></name> <name><surname>Kreibig</surname> <given-names>S. D.</given-names></name> <name><surname>Gross</surname> <given-names>J. J.</given-names></name> <name><surname>Roth</surname> <given-names>W. T.</given-names></name> <name><surname>Wilhelm</surname> <given-names>F. H.</given-names></name></person-group> (<year>2011</year>). <article-title>An affective computing approach to physiological emotion specificity: toward subject-independent and stimulus-independent classification of film-induced emotions</article-title>. <source>Psychophysiology</source> <volume>48</volume>, <fpage>908</fpage>&#x02013;<lpage>922</lpage>.<pub-id pub-id-type="doi">10.1111/j.1469-8986.2010.01170.x</pub-id><pub-id pub-id-type="pmid">21261632</pub-id></citation></ref>
<ref id="B16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kreibig</surname> <given-names>S. D.</given-names></name></person-group> (<year>2010</year>). <article-title>Autonomic nervous system activity in emotion: a review</article-title>. <source>Biol. Psychol.</source> <volume>84</volume>, <fpage>394</fpage>&#x02013;<lpage>421</lpage>.<pub-id pub-id-type="doi">10.1016/j.biopsycho.2010.03.010</pub-id><pub-id pub-id-type="pmid">20371374</pub-id></citation></ref>
<ref id="B17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lang</surname> <given-names>P. J.</given-names></name> <name><surname>Greenwald</surname> <given-names>M. K.</given-names></name> <name><surname>Bradley</surname> <given-names>M. M.</given-names></name> <name><surname>Hamm</surname> <given-names>A. O.</given-names></name></person-group> (<year>1993</year>). <article-title>Looking at pictures: affective, facial, visceral, and behavioral reactions</article-title>. <source>Psychophysiology</source> <volume>30</volume>, <fpage>261</fpage>&#x02013;<lpage>273</lpage>.<pub-id pub-id-type="doi">10.1111/j.1469-8986.1993.tb03352.x</pub-id><pub-id pub-id-type="pmid">8497555</pub-id></citation></ref>
<ref id="B18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lisetti</surname> <given-names>C. L.</given-names></name> <name><surname>Nasoz</surname> <given-names>F.</given-names></name></person-group> (<year>2004</year>). <article-title>Using noninvasive wearable computers to recognize human emotions from physiological signals</article-title>. <source>EURASIP J. Appl. Signal Process.</source> <volume>2004</volume>, <fpage>1672</fpage>&#x02013;<lpage>1687</lpage>.<pub-id pub-id-type="doi">10.1155/S1110865704406192</pub-id></citation></ref>
<ref id="B19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>McFarland</surname> <given-names>R. A.</given-names></name></person-group> (<year>1985</year>). <article-title>Relationship of skin temperature changes to the emotions accompanying music</article-title>. <source>Appl. Psychophysiol. Biofeedback</source> <volume>10</volume>, <fpage>255</fpage>&#x02013;<lpage>267</lpage>.<pub-id pub-id-type="doi">10.1007/BF00999346</pub-id><pub-id pub-id-type="pmid">3835976</pub-id></citation></ref>
<ref id="B20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>M&#x000FC;hl</surname> <given-names>C.</given-names></name> <name><surname>Allison</surname> <given-names>B.</given-names></name> <name><surname>Nijholt</surname> <given-names>A.</given-names></name> <name><surname>Chanel</surname> <given-names>G.</given-names></name></person-group> (<year>2014</year>). <article-title>A survey of affective brain computer interfaces: principles, state-of-the-art, and challenges</article-title>. <source>Brain Comput. Interfaces</source> <volume>1</volume>, <fpage>66</fpage>&#x02013;<lpage>84</lpage>.<pub-id pub-id-type="doi">10.1080/2326263X.2014.912881</pub-id></citation></ref>
<ref id="B21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Oostenveld</surname> <given-names>R.</given-names></name> <name><surname>Fries</surname> <given-names>P.</given-names></name> <name><surname>Maris</surname> <given-names>E.</given-names></name> <name><surname>Schoffelen</surname> <given-names>J.-M.</given-names></name></person-group> (<year>2011</year>). <article-title>FieldTrip: open source software for advanced analysis of MEG, EEG, and invasive electrophysiological data</article-title>. <source>Comput. Intell. Neurosci.</source> <volume>2011</volume>, <fpage>1</fpage>&#x02013;<lpage>9</lpage>.<pub-id pub-id-type="doi">10.1155/2011/156869</pub-id><pub-id pub-id-type="pmid">21253357</pub-id></citation></ref>
<ref id="B23"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Picard</surname> <given-names>R. W.</given-names></name></person-group> (<year>1997</year>). <source>Affective Computing</source>. <publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>MIT Press</publisher-name>.</citation></ref>
<ref id="B24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Picard</surname> <given-names>R. W.</given-names></name> <name><surname>Vyzas</surname> <given-names>E.</given-names></name> <name><surname>Healey</surname> <given-names>J.</given-names></name></person-group> (<year>2001</year>). <article-title>Toward machine emotional intelligence: analysis of affective physiological state</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>23</volume>, <fpage>1175</fpage>&#x02013;<lpage>1191</lpage>.<pub-id pub-id-type="doi">10.1109/34.954607</pub-id></citation></ref>
<ref id="B25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rainville</surname> <given-names>P.</given-names></name> <name><surname>Bechara</surname> <given-names>A.</given-names></name> <name><surname>Naqvi</surname> <given-names>N.</given-names></name> <name><surname>Damasio</surname> <given-names>A. R.</given-names></name></person-group> (<year>2006</year>). <article-title>Basic emotions are associated with distinct patterns of cardiorespiratory activity</article-title>. <source>Int. J. Psychophysiol.</source> <volume>61</volume>, <fpage>5</fpage>&#x02013;<lpage>18</lpage>.<pub-id pub-id-type="doi">10.1016/j.ijpsycho.2005.10.024</pub-id><pub-id pub-id-type="pmid">16439033</pub-id></citation></ref>
<ref id="B26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Scherer</surname> <given-names>K. R.</given-names></name></person-group> (<year>2005</year>). <article-title>What are emotions? And how can they be measured?</article-title> <source>Soc. Sci. Inf.</source> <volume>44</volume>, <fpage>695</fpage>&#x02013;<lpage>729</lpage>.<pub-id pub-id-type="doi">10.1177/0539018405058216</pub-id></citation></ref>
<ref id="B27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schlogl</surname> <given-names>A.</given-names></name> <name><surname>Brunner</surname> <given-names>C.</given-names></name></person-group> (<year>2008</year>). <article-title>BioSig: a free and open source software library for BCI research</article-title>. <source>Computer</source> <volume>41</volume>, <fpage>44</fpage>&#x02013;<lpage>50</lpage>.<pub-id pub-id-type="doi">10.1109/MC.2008.407</pub-id></citation></ref>
<ref id="B28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Chanel</surname> <given-names>G.</given-names></name> <name><surname>Kierkels</surname> <given-names>J. J. M.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2009</year>). <article-title>Affective characterization of movie scenes based on content analysis and physiological changes</article-title>. <source>Int. J. Semantic Comput.</source> <volume>3</volume>, <fpage>235</fpage>&#x02013;<lpage>254</lpage>.<pub-id pub-id-type="doi">10.1142/S1793351X09000744</pub-id></citation></ref>
<ref id="B29"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Koelstra</surname> <given-names>S.</given-names></name> <name><surname>Patras</surname> <given-names>I.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2011</year>). <article-title>&#x0201C;Continuous emotion detection in response to music videos,&#x0201D;</article-title> in <conf-name>2011 IEEE International Conference on Automatic Face Gesture Recognition and Workshops (FG 2011)</conf-name> (<conf-loc>Santa Barbara, CA</conf-loc>: <conf-sponsor>IEEE</conf-sponsor>), <fpage>803</fpage>&#x02013;<lpage>808</lpage>.</citation></ref>
<ref id="B30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Lichtenauer</surname> <given-names>J.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name> <name><surname>Pantic</surname> <given-names>M.</given-names></name></person-group> (<year>2012a</year>). <article-title>A multimodal database for affect recognition and implicit tagging</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>42</fpage>&#x02013;<lpage>55</lpage>.<pub-id pub-id-type="doi">10.1109/T-AFFC.2011.25</pub-id></citation></ref>
<ref id="B31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Pantic</surname> <given-names>M.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2012b</year>). <article-title>Multimodal emotion recognition in response to videos</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>211</fpage>&#x02013;<lpage>223</lpage>.<pub-id pub-id-type="doi">10.1109/T-AFFC.2011.37</pub-id></citation></ref>
<ref id="B32"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Wagner</surname> <given-names>J.</given-names></name> <name><surname>Jonghwa</surname> <given-names>K.</given-names></name> <name><surname>Andre</surname> <given-names>E.</given-names></name></person-group> (<year>2005</year>). <article-title>&#x0201C;From physiological signals to emotions: implementing and comparing selected methods for feature extraction and classification,&#x0201D;</article-title> in <conf-name>IEEE International Conference on Multimedia and Expo</conf-name> (<conf-loc>Amsterdam</conf-loc>: <conf-sponsor>IEEE</conf-sponsor>), <fpage>940</fpage>&#x02013;<lpage>943</lpage>.</citation></ref>
<ref id="B33"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Gong</surname> <given-names>Y.</given-names></name></person-group> (<year>2008</year>). <article-title>&#x0201C;Recognition of multiple drivers&#x02019; emotional state,&#x0201D;</article-title> in <conf-name>19th International Conference on Pattern Recognition, 2008. ICPR 2008</conf-name> (<conf-loc>Tampa, FL</conf-loc>), <fpage>1</fpage>&#x02013;<lpage>4</lpage>.</citation></ref>
</ref-list>
<fn-group>
<fn id="fn1"><p><sup>1</sup><uri xlink:href="http://kubios.uef.fi/">http://kubios.uef.fi/</uri>.</p></fn>
<fn id="fn2"><p><sup>2</sup><uri xlink:href="http://www.anslab.net">http://www.anslab.net</uri>.</p></fn>
<fn id="fn3"><p><sup>3</sup><uri xlink:href="https://github.com/Gijom/TEAP">https://github.com/Gijom/TEAP</uri>.</p></fn>
</fn-group>
</back>
</article>