richf
unread,Nov 8, 2012, 8:37:54 AM11/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to psychop...@googlegroups.com
Hi all,
I am preparing a task that involves a staircase procedure, with a variant of the flicker fusion paradigm. 2 digits are presented for various frame times, which are changed according to the stairhandler. The aim is to alter the presentation times to find the threshold. I have used the stairhandler class, with the start value referring to frame rate. It seems to be working but whether i use a 'db' or 'lin' type ('log' does not work at all) i still get the following error :
DeprecationWarning: integer argument expected, got float
for frames in range(increment):
Even though it seems to be working, i still don't like this error - what effect will this really have? Is it a problem?
I should add that i am a beginner at programming so my code may not be efficient. If anyone can shed any light on this error and its impact on the study then i would greatly appreciate it.
Please note, i have commented out certain lines that, for the present purpose, are irrelevant. Also, the nTrials is set to 10 for practice only, so ignore this actual figure. The file should be attached.
Many thanks to all
Richard