TrajTracker 1.2 documentation¶
General¶
trajtracker.stimuli¶
Visual objects.
- FixationZoom: A fixation stimulus of four moving-in dots
- MultiStimulus: controls the presentation of a sequence of stimuli
- MultiTextBox: controls the presentation of a sequence of texts
- NumberLine: show a number line, detect when it's touched
- Slider: for choosing a value on a continuous scale
- StimulusContainer: present several stimuli, easily toggle them on/off
- StimulusSelector: create a "virtual stimulus" that can present one of several underlying stimuli
trajtracker.validators¶
Perform various validations on mouse/finger movement during the trial.
- FingerLiftedValidator: issue an error when the finger is lifted in mid-trial
- GlobalSpeedValidator: enforce minimal speed by defining milestones
- InstantaneousSpeedValidator: enforce minimal/maximal momentary speed
- LocationsValidator: allow touching only predefined screen locations
- MoveByGradientValidator: restrict movement to predefined paths
- MovementAngleValidator: restrict movement direction
- NCurvesValidator: prevent "zigzag" movement
trajtracker.movement¶
Classes that handle various aspects of finger/mouse movement.
Animate a visual object along a given path:
- StimulusAnimator: move a stimulus along a path defined by a trajectory-generator
- CircularTrajectoryGenerator: define a circular movement path
- CustomTrajectoryGenerator: load movement path from CSV
- LineTrajectoryGenerator: define a straight movement path
- SegmentedTrajectoryGenerator: define a multi-segment movement path
Monitor the finger/mouse movement:
trajtracker.events¶
This set of classes allows defining the flow of a trial by using events.