3/5/2023 0 Comments Run psychopy on anaconda![]() ![]() I have tried pip install -target=~/pupil_player_settings/plugins tensorflow-gpu which kind of works but clutters the plugins folder and causes name conflicts inside the plugins folder as both keras and tensorflow-gpu come e.g. However I am not quite sure how to port the necessary dependencies into the plugins folder such that they are recognized by Pupil Player. the plugin will not recognize your local pip installation! Any additional dependencies need to be installed into the plugins folder, next to the plugin Inside the Plugin API docs I read this: The bundled applications use their own isolated Python environment, i.e. Now I want to make these dependencies visible for the Pupil Player. I managed to get DeepVOG running inside a virtual anaconda environment. This repository has multiple dependencies that are not part of the standard python distribution (i.e. The detection algorithm I want to use stems from a GitHub Repo called DeepVOG ( ). I am still trying to implement a custom pupil detector plugin for the Pupil Player. (did I mention that reading auto-generated psychopy code is a small catastrophe? :D) Until then, use delay = polyBall.started - annotation to correctly sync pupil to psychopy time (your data will no longer be in Unix time, but this does not really matter for reaction time calculations). ![]() After implementing this change, you no longer need to use annotations to manually fix your offset. This corrects your unix time to the same clock that polyBall.started uses. I recommend the following change to fix all your future sync problems: - expInfo = core.getAbsTime() You take between 8-16 seconds to click OK on that dialogue. This is where your delay comes into play. ![]() timeOnFlip() assigns () (can't find what this is relative to exactly) (I assume this times program start, not experiment start)Īdditionally, I noticed, that you call getAbsTime() after DlgFromDict. The psychopy event is therefore timed at the exact time the stimulus is shown for the first time. polyBall.tStartRefresh is set by win.timeOnFlip(polyBall, 'tStartRefresh') (This is the response to my original question. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |