Class StroopTestDataHandler.StroopTestRecord
Immutable snapshot of one participant response to a Stroop stimulus, capturing both the stimulus shown and the timing of the response for reaction-time analysis.
[Serializable]
public class StroopTestDataHandler.StroopTestRecord
Inheritance
Constructors
StroopTestRecord(string, StroopStimulus, long, float)
Initializes a new instance of the StroopTestRecord class.
public StroopTestRecord(string _action, StroopStimulus _entry, long _unixTimeStamp, float _elapsedTime)
Parameters
| Name | Type | Description |
|---|---|---|
_action | string | The user input action name. |
_entry | StroopStimulus | The Stroop stimulus data. |
_unixTimeStamp | long | The Unix timestamp when input was received. |
_elapsedTime | float | The elapsed time in seconds from stimulus display to input. |
Fields
elapsedTime
The time in seconds from when the stimulus appeared to when the input was received.
public float elapsedTime
Field Value
float
stroopTestEntryColor
The color of the stimulus on screen at the time of the record.
public string stroopTestEntryColor
Field Value
string