Skip to main content

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​

NameTypeDescription
_actionstringThe user input action name.
_entryStroopStimulusThe Stroop stimulus data.
_unixTimeStamplongThe Unix timestamp when input was received.
_elapsedTimefloatThe 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

inputAction​

The performed input action's name.

public string inputAction

Field Value​

string

stroopTestEntryColor​

The color of the stimulus on screen at the time of the record.

public string stroopTestEntryColor

Field Value​

string

stroopTestEntryText​

The text of the stimulus on screen at the time of the record.

public string stroopTestEntryText

Field Value​

string

unixTimeStamp​

The Unix timestamp in milliseconds when the input was received.

public long unixTimeStamp

Field Value​

long

  • Constructors
    • StroopTestRecord(string, StroopStimulus, long, float)
  • Fields
    • elapsedTime
    • inputAction
    • stroopTestEntryColor
    • stroopTestEntryText
    • unixTimeStamp