Skip to content

A generator of PsychoPy experiments from pyFlies models

License

Notifications You must be signed in to change notification settings

pyflies/pyflies-psychopy

Repository files navigation

pyflies-psychopy

Generator for PsychoPy experiments from pyFlies models.

When this project is installed you will have a textX registered generator that can generate PsychoPy experiment from pyFlies models (.pf files). You can verify that generator is available by:

textx list-generators

and you can generate PsychoPy experiment by:

textx generate <your pyflies model.pf> --target psychopy --overwrite

For the details see running generators section of pyFlies documentation.

Configuration

PsychoPy can be configured in userPrefs.cfg file. Its location varies by machine.

You can use Preferences dialog in the PsychoPy GUI for the configuration.

Parameters in the target configuration block

See pfpsychopy.default_settings.

  • resolution: Point - Screen/window resolution, default is (1024, 768)
  • fullScreen: boolean - should the experiment run in full screen, default is false
  • background: string - background color, default is black
  • frameTolerance - tolerance in frame duration in seconds, default is 0.001

Credits

Initial project layout generated with textx startproject.

About

A generator of PsychoPy experiments from pyFlies models

Resources

License

Stars

Watchers

Forks

Packages

No packages published