FittsLaw/utils/README.txt

16 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2020-05-15 14:19:14 -04:00
This a collection of utilites to make running the Fitts Law Experiment software easier. These all require a python3 install.
trialGen.py
This generates trials based on a given number of trials and a number of dots per trial. You can edit your directions and distances in this file as well as what devices you are testing.
Please note that your number of trials times your number of dots per trial must be evenly divisble by the product of your distances and directions. The script will refuse to generate otherwise.
console.py
This communicates with the server and updates the participant ID for a given input device. I recommend running an instance of this for each input device during data collection.
2020-05-15 23:51:12 -04:00
Note: Setting the participant ID to 9999. Will run only the first trial and not record data samples. The purpose of this is a practice trial.
2020-05-15 14:19:14 -04:00
server.py
This requires the python package flask (pip3 install flask).
This serves up the trial files generated by trialGen.py and is used by console.py to update the participant ID.
Simply run with python3 and it will begin running a server on port 5000
2020-05-15 23:51:12 -04:00
Note: The devices running both the software and the console.py script need to have a network connection to wherever this server is running.