Jon
> Alexandre Blondin Mass�
> Ph.D. student, UQAM
>
--
Dr. Jonathan Peirce
Nottingham Visual Neuroscience
Quoting Jonathan Peirce <jon.p...@gmail.com>:
> Sorry Alexandre, PsychoPy really isn't designed for that. To get the
> performance needed PsychoPy makes use of a variety of low-level
> graphics (OpenGL) commands and these can't be run via the web. I
> suppose you could do something yourself using VNC windows, but it would
> have horrible performance.
>
> Jon
>
> On 09/08/2010 15:13, Alexandre Blondin Massé wrote:
>> Hello, everyone !
>>
>> Having been a Sage and Python user for the last year, I was really
>> happy to fall on psychopy. I'm interested in running a simple
>> experiment and would gladly code it in Python, but there is a big
>> problem: If possible, I would like the experiment to be done online
>> from our server. Is it possible ? And what would be the best way to do
>> it ?
>>
>> I know that there exists a hybrid language called Jython that allows
>> one to create applets in Python, but I don't know if it works well
>> with psychopy.
>>
>> Thank you in advance for the answers !
>>
>> Alexandre Blondin Massé
>> Ph.D. student, UQAM
>>
>
> --
> Dr. Jonathan Peirce
> Nottingham Visual Neuroscience
>
> http://www.peirce.org.uk/
>
> --
> You received this message because you are subscribed to the Google
> Groups "psychopy-users" group.
> To post to this group, send email to psychop...@googlegroups.com.
> To unsubscribe from this group, send email to
> psychopy-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/psychopy-users?hl=en.
Sorry to be a downer, but I really don't see it working without a huge
effort (that would amount to starting from scratch). An app engine
solution for running experiments that dont require high temporal
precision is a really interesting idea, but I don't honestly think
psychopy is the starting point for it.
Jon
On 13/08/2010 01:37, Alexandre Blondin Mass� wrote:
> Thank you, Jeremy ! This is another very interesting idea. I'll look
> into it...
> Alex
>
> On 12 ao�t, 09:52, Jeremy Gray<jrg...@gmail.com> wrote:
>> if timing etc is not that important, I wonder if a psychopy experiment
>> running inside a google app engine could work for this? it looks like
>> something might be possible, although might require things beyond PsychoPy.
>> fromhttp://code.google.com/appengine/docs/python/gettingstarted/
>>
>> "Google App Engine supports any framework written in pure Python that speaks
>> CGI (and any WSGI<http://www.python.org/dev/peps/pep-0333/>-compliant
>> framework using a CGI adaptor), including
>> Django<http://www.djangoproject.com/>,
>> CherryPy<http://www.cherrypy.org/>, Pylons<http://pylonshq.com/>, and
>> web.py<http://webpy.org/>. You can bundle a framework of your choosing with
>> your application code by copying its code into your application directory."
>>
>> --Jeremy
>>
>> On Thu, Aug 12, 2010 at 8:53 AM, Alexandre Blondin Mass�<
>>
>> alexandre.blondin.ma...@gmail.com> wrote:
>>> Hello, Dave !
>>> This is indeed a possible solution that's worth thinking about... I
>>> guess we would have to resolve firewall problems... and check if the
>>> experiment runs ok on different platform.
>>> The reason why we would like it to be online is that it is going to be
>>> very long for each subject (maybe 20 hours), but we don't need to have
>>> very precise data related to the chronometrical features or that it be
>>> done in a very controlled environment. Basically, we only need the
>>> data produced by the subject, and they can do it on a long period of
>>> time if they want to. Maybe it is not necessary to use psychopy, in
>>> fact...
>>> I don't know, I'll keep you posted about our choice. Thank you for the
>>> answer anyway !
>>> Alex
>>> On 11 ao�t, 10:07, d...@davebritton.com wrote:
>>>> Alexandre,
>>>> It would be conceivable to do this by having the end user (the
>>>> subject) run a local copy of a psychopy application instead of a web
>>>> browser. Inside the local psychopy application you would use python's
>>>> web httplib library to communicate from the local copy to the web
>>>> server, to send and receive data that would tell the server what the
>>>> user is doing and let the server tell the application what to do. On
>>>> the server you would have a python cgi or wsgi application that
>>>> answers the end user application's http request at some url. This
>>>> would require that your end users download and install your psychopy
>>>> app, perhaps as a standalone, packaged so as to be self-installing.
>>>> That could be a lot of work, but possibly worth it. What are you
>>>> thinking about that would require doing it online?
>>>> -Dave Britton
>>>> Quoting Jonathan Peirce<jon.pei...@gmail.com>:
>>>>> Sorry Alexandre, PsychoPy really isn't designed for that. To get the
>>>>> performance needed PsychoPy makes use of a variety of low-level
>>>>> graphics (OpenGL) commands and these can't be run via the web. I
>>>>> suppose you could do something yourself using VNC windows, but it would
>>>>> have horrible performance.
>>>>> Jon
>>>>> On 09/08/2010 15:13, Alexandre Blondin Mass� wrote:
>>>>>> Hello, everyone !
>>>>>> Having been a Sage and Python user for the last year, I was really
>>>>>> happy to fall on psychopy. I'm interested in running a simple
>>>>>> experiment and would gladly code it in Python, but there is a big
>>>>>> problem: If possible, I would like the experiment to be done online
>>>>>> from our server. Is it possible ? And what would be the best way to do
>>>>>> it ?
>>>>>> I know that there exists a hybrid language called Jython that allows
>>>>>> one to create applets in Python, but I don't know if it works well
>>>>>> with psychopy.
>>>>>> Thank you in advance for the answers !
>>>>>> Alexandre Blondin Mass�
On Friday 13 August 2010 3:55:31 am Jonathan Peirce wrote:
> Sorry to be a downer, but I really don't see it working without a
> huge effort (that would amount to starting from scratch). An app
> engine solution for running experiments that dont require high
> temporal precision is a really interesting idea, but I don't
> honestly think psychopy is the starting point for it.
>
> Jon
>
A few years ago I looked into this in general. Obviously, the easiest
way to run simple experiments over the web is with standard web
languages, i.e., html driven by a server-side scripting language like
php, python, or perl. Unfortunately, that gives very little control
over the way the experiment is presented (it will always be inside a
browser for one thing, and you have zero control over timing). Html5
and modern javascript give excellent control over display, but
unfortunately are not yet reliably consistent across different web
browsers. I have seen Adobe Flash based experiments done. Most
computers have flash and it allows full-screen displays, but is an
expensive and proprietary programming language, and rules out some
operating systems (and has speed issues on others).
I ended up writing a rough full-screen questionnaire-type experiment
engine using Java a few years back for a course. If the user has
Java, you can run your experiment with either Java WebStart or by
downloading and doubleclicking on a Jar file. Using Java allows the
user to simply click a link to run your experiment, and does not
require any installation of software. Java is more difficult to
program than Python, but is free, has opensource implementations for
nearly all operating systems, and gives access to all operating
system resources with "reasonable" timing. Stay away from java
applets though.
Just my 2 cents.
Jason Locklin
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To post to this group, send email to psychop...@googlegroups.com.
To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/c871b471-9cce-4889-b443-bde03b0c640b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.