[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO gfx/util/papersampler.py
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] gzz ./TODO gfx/util/papersampler.py |
Date: |
Mon, 03 Mar 2003 14:07:42 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Janne V. Kujala <address@hidden> 03/03/03 14:07:42
Modified files:
. : TODO
gfx/util : papersampler.py
Log message:
create full set of 90*3 recog test textures
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.610&tr2=1.611&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/util/papersampler.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.610 gzz/TODO:1.611
--- gzz/TODO:1.610 Mon Mar 3 13:50:47 2003
+++ gzz/TODO Mon Mar 3 14:07:42 2003
@@ -35,10 +35,6 @@
or until max-time is reached
- logs the elapsed time and the pressed key (if any)
jvk:
- - explain to tjl the items:
- - Make recognition test swap the set of seeds of light and dark
- textures for every second subject
-
- Create scripts for generating above lines for each
test procedure and subject as per exper.txt
- Create scripts for processing the log files
Index: gzz/gfx/util/papersampler.py
diff -u gzz/gfx/util/papersampler.py:1.14 gzz/gfx/util/papersampler.py:1.15
--- gzz/gfx/util/papersampler.py:1.14 Mon Mar 3 13:48:03 2003
+++ gzz/gfx/util/papersampler.py Mon Mar 3 14:07:42 2003
@@ -92,12 +92,14 @@
def createPurePapers():
- seed = 100
- for opts in pureConds:
- for i in range(0,30):
+ # Create 90 textures for each condition
+ # Each 30 are assigned to different conditions for different subjects
+ for cond in range(0, len(pureConds)):
+ opts = pureConds[cond]
+ for i in range(0,90):
+ seed = 12345 + i
doFrame(lambda vs: paperscene(vs, seed, opts),
- "tmp/tmp%s.png" % seed)
- seed += 1
+ "tmp/tmp%s_%s.png" % (cond, i))
def textPaperScene(vs, layout, scale):
scale *= .5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz ./TODO gfx/util/papersampler.py,
Janne V. Kujala <=