add ms as units

This commit is contained in:
Josh de Leeuw 2021-10-14 16:27:31 -04:00
parent 4954deb2f7
commit f2306b5764
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ initJsPsych({
Parameter | Type | Default Value | Description
----------|------|---------------|------------
minimum_sample_time | number | 0 | The minimum time between samples for `mousemove` events. If `mousemove` events occur more rapidly than this limit, they will not be recorded. Use this if you want to keep the data files smaller and don't need high resolution tracking data. The default value of 0 means that all events will be recorded.
minimum_sample_time | number | 0 | The minimum time between samples for `mousemove` events in milliseconds. If `mousemove` events occur more rapidly than this limit, they will not be recorded. Use this if you want to keep the data files smaller and don't need high resolution tracking data. The default value of 0 means that all events will be recorded.
### Trial Parameters

View File

@ -2,8 +2,9 @@ import { JsPsych, JsPsychExtension, JsPsychExtensionInfo } from "jspsych";
interface InitializeParameters {
/**
* The minimum time between mouse samples. If mouse events occur more rapidly than this limit, they will
* not be recorded. Use this if you want to keep the data files smaller and don't need high resolution
* The minimum time between samples for `mousemove` events in milliseconds.
* If `mousemove` events occur more rapidly than this limit, they will not be recorded.
* Use this if you want to keep the data files smaller and don't need high resolution
* tracking data. The default value of 0 means that all events will be recorded.
* @default 0
*/