#N canvas 599 70 638 769 10;
#X obj -6 223 cnv 15 400 320 empty empty Parameters 20 12 0 14 -203904
-66577 0;
#X text 12 248 Inputs;
#X text 12 268 answer (0 or 1) \; start (bang) \; reset (bang) \;;
#X text 12 328 Outputs;
#X text 12 419 Arguments;
#X text 12 438 up number \; down number \; stairs number \; max reversals
per stair \; max trials per stair \; initial step \; initial level
\;;
#X text 12 348 info (list: stair id \, stair trial \, stair stim level
\, answer \, stair rev) \; stim level (float) \; done (bang) \;;
#X obj -6 -8 cnv 15 450 120 empty empty staircase 20 12 0 14 -232576
-66577 0;
#X text 12 17 Simple staircase method using n up/ n down. The object
can take several parameters explained below.;
#X text 13 56 WARNING!!!;
#X text 13 76 At the moment \, the object works only for 1 up/ 1 down.
;
#X obj 75 145 staircase 1 1 2 5 100 1 0;
#N canvas 0 0 638 769 example 0;
#X obj 207 50 r start;
#X obj 258 50 r reset;
#X obj 307 50 r info;
#X obj 158 30 random 2;
#X obj 158 10 r gen_answer;
#X obj 158 69 staircase 1 1 2 5 100 1 0;
#X obj 158 130 print infos;
#X obj 305 91 bng 15 250 50 0 empty empty done 17 7 0 10 -262144 -1
-1;
#X floatatom 231 110 5 0 0 1 stim_level - -;
#X obj 39 31 bng 15 250 50 0 start empty start 17 7 0 10 -262144 -1
-1;
#X obj 39 51 bng 15 250 50 0 reset empty reset 17 7 0 10 -262144 -1
-1;
#X obj 39 91 bng 15 250 50 0 gen_answer empty gen_ans 17 7 0 10 -262144
-1 -1;
#X obj 39 71 bng 15 250 50 0 info empty info 17 7 0 10 -262144 -1 -1
;
#X connect 0 0 5 1;
#X connect 1 0 5 2;
#X connect 2 0 5 3;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 5 1 8 0;
#X connect 5 2 7 0;
#X restore 75 185 pd example;
