isolver / OpenHandWrite

Python tools for the recording and analysis of handwriting captured via pen tablet type devices.
GNU General Public License v3.0
13 stars 4 forks source link

Create example Psychopy Builder Project that uses iohub.wintab device #76

Closed isolver closed 8 years ago

isolver commented 8 years ago

Email exchange:

"Code components" can be added in a Builder project, where you can run any bit of python code at the point you add the Code Component to your experiment timeline. This is what is done now for the eyetracker Builder demo ( psychopy\demos\builder\iohub\stroop_eyetracking\stroop.psyexp ).

So this is a middle ground approach that we could have an example of doing, and would not take too much time to do.

MT: Good. Let add creating a similar demo as a high priority todo. I think something like this is pretty essential. This is sort of what I had pictured – though didn’t articulate - when we talked initially about a template experiment.

isolver commented 8 years ago

Note that this will only really be useful when the latest iohub code is merged with the PsychoPy project repo, so a user can download and install the STandalone PsychoPy App / Env. that has the iohub.wintab device code in it.

SO I will make an example in the psychopy.demos.builder.iohub folder and include this in the Pull Request I make to PsychoPy/PsychoPy github repo.

I will likely not made this pull request until I know that the wintab device api and events fields are at least close to what Mark and Guido expect from it. As well that it is unlikely for us to make backwards incompatible changes to the wintab device / events.

Mark-Torrance commented 8 years ago

Good. So high priority (Guido do you agree?) but leave-until-end.

isolver commented 8 years ago

More thoughts on requirements for this:

Mark-Torrance commented 8 years ago

I've ticked all of the above. Here is bit from my email of just now:

I hope that this is just an adaptation of what you’ve already done and doesn’t mean starting again. If so, I’m really sorry that I didn’t think this through before. I do think that something like this is pretty essential, though. A useful simple template would just be something like Welcome screen > trials (more than one) > Goodbye screen. Trials: show text of word > subject writes word > subject pen-presses in area of tablet to continue when finished. Text display disappears at first pen press (i.e. writing onset). I could imagine myself then using this, and the more complex TemplateExperiment, to then work out how to do most other things.

isolver commented 8 years ago

If we keep the Builder example really simple, just as you have outlined, then this is not a big issue. 2-3 hours of work should get something banged out.

isolver commented 8 years ago

SO template should simply:

  1. Welcome screen
  2. trials (more than one) based on experiment_conditions file

    a. show text of word b. Text display disappears at first pen press (i.e. writing onset). c. subject writes word d. subject pen-presses in area of tablet to continue to next trial

  3. Exp finished screen
isolver commented 8 years ago

Implemented in last OHW distro release. closing..