Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsdfish/psychomotorvigilancetask.jl
An implementation of the psychomotor vigilance task in Julia.
https://github.com/itsdfish/psychomotorvigilancetask.jl
julia julia-lang julia-language psychomotor-vigilance-task pvt
Last synced: about 1 month ago
JSON representation
An implementation of the psychomotor vigilance task in Julia.
- Host: GitHub
- URL: https://github.com/itsdfish/psychomotorvigilancetask.jl
- Owner: itsdfish
- License: mit
- Created: 2021-06-23T12:37:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-19T09:49:54.000Z (about 1 year ago)
- Last Synced: 2024-10-14T16:43:26.467Z (about 1 month ago)
- Topics: julia, julia-lang, julia-language, psychomotor-vigilance-task, pvt
- Language: Julia
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PsychomotorVigilenceTask
This package impliments the psychomotor vigilance task (PVT) in the Julia programming language. The PVT measures decrements in sustained attention as the result of fatigue and sleep deprivation. On each trial, a stimulus appears after a delay uniformly distributed between 2 and 10 seconds. The goal is to respond as quickly as possible without responding before the stimulus onset. After a response is made via the spacebar, the reaction time of the current trial is displayed in milliseconds for 1 second. An average reaction time of 250 to 300 milliseconds is typical for well-rested individuals.
# Example
The PVT can be used as follows:
```julia
using PsychomotorVigilenceTask
task = PVT()
start!(task)
```
The default settings can be overwritten by passing values to the desired keyword arguments in `PVT()`. Reaction times can be accessed with `task.rts`# References
Dinges, D. F., & Powell, J. W. (1985). Microcomputer analyses of performance on a portable, simple visual RT task during sustained operations. Behavior research methods, instruments, & computers, 17(6), 652-655.