e = itpt(duration=60, port_name="/dev/ttyUSB0")
NeuroAnalyzer tutorials: Two-point Pinch Test (TPT)
Two-point Pinch Test (TPT) is variant of Finger Tapping Test (FTT), where instead of tapping a subject is asked to perform two-point (thumb and index finger) pinches as quickly as possible.
TPT is measured using Grove - 3-Axis Digital Accelerometer via Arduino attached to the PC via USB (virtual serial port). The Groove GSR sensor should be placed on the index finger. We use an elastic band to which the sensor is attached.
The daemon must be running on Arduino in order to record, convert and send the data to the serial port. Data from the sensor are sampled at 50 Hz.
tpt() and itpt()
tpt()
and itpt()
parameters are:
duration
: recording length (in seconds)port_name
: serial port name
To record TPT in GUI mode:
To record TPT in CLI mode:
e = tpt(duration=60, port_name="/dev/ttyUSB0")
NeuroTester: TPT
================
Duration: 5 [seconds]
Serial port: /dev/ttyUSB0
Ready to start, press SPACEBAR to begin the test
The test will start after a beep
Pinch the thumb and the index finger as quickly as possible
Testing completed
(!) tpt
datatype NeuroAnalyzer object is returned.
Example of TPT recorded signal:
iview(e)
To analyze the test results, use:
tpt_analyze(e)