[visionegg] Re: here's an error...
- From: John Christie <jc@xxxxxxxxxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 22 Sep 2008 15:37:15 -0300
Alright... I didn't see that the demos are now within the universal
archive instead of a separate download. I installed using
easy_install visionegg==1.1.1.
Wow, it seems like a lot of dropped frames on my MacBook. I seem to
remember far fewer on my old G5 iMac.
histogram:
Time: 0 2 4 6 8 10 12 14 16 18 20 22 24
+(msec)
Total: 0 0 0 0 0 0 0 0 0 4 214 17
230
On Sep 22, 2008, at 3:25 PM, Andrew Straw wrote:
John Christie <John.Christie@xxxxxx> wrote:
This looks like just an error in the demos with new versions of
Numeric??
after issuing...
python multi_stim.py
I get...
2008-09-20 18:44:37,949 (5119) INFO: Script multi_stim.py started
Vision Egg 1.1.1 with process id 5119.
2008-09-20 18:44:42,581 (5119) INFO: Requesting window 640 x 480 32
bpp (8 8 8 0 RGBA).
2008-09-20 18:44:42,693 (5119) INFO: OpenGL 1.2 APPLE-1.5.30, Intel
GMA X3100 OpenGL Engine, Intel Inc. (PyOpenGL 3.0.0a5)
2008-09-20 18:44:42,694 (5119) INFO: Video system reports 32 bpp (8 8
8 8 RGBA).
2008-09-20 18:44:44,076 (5119) CRITICAL: Traceback (most recent call
last):
File "multi_stim.py", line 331, in <module>
pixels = RandomArray.randint(0,256,
(20,20,3)).astype(Numeric.UnsignedInt8)
ValueError: Invalid type for array
Traceback (most recent call last):
File "multi_stim.py", line 331, in <module>
pixels = RandomArray.randint(0,256,
(20,20,3)).astype(Numeric.UnsignedInt8)
This is latest versions of pretty much everything on Mac OS X.
(most other demos run great).
Hi John,
It looks like you aren't using multi_stim.py from the Vision Egg 1.1.1
source.
The old version (what you're using) uses Numeric's RandomArray and
friends. The new version uses numpy. (numpy is the new version of
Numeric.) You can definitely fix this by running the new
multi_stim.py.
You can probably fix this by installing the old Numeric if you can
find it.
-Andrew
--
Dr. Andrew D. Straw
California Institute of Technology
http://www.its.caltech.edu/~astraw/
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: here's an error...
- From: Andrew Straw
- [visionegg] Re: here's an error...
- From: John Christie
- References:
- [visionegg] here's an error...
- From: John Christie
- [visionegg] Re: here's an error...
- From: Andrew Straw
Other related posts:
- » [visionegg] here's an error...
- » [visionegg] Re: here's an error...
- » [visionegg] Re: here's an error...
- » [visionegg] Re: here's an error...
- » [visionegg] Re: here's an error...
- » [visionegg] Re: here's an error...
John Christie <John.Christie@xxxxxx> wrote:
This looks like just an error in the demos with new versions of
Numeric??
after issuing...
python multi_stim.py
I get...
2008-09-20 18:44:37,949 (5119) INFO: Script multi_stim.py started
Vision Egg 1.1.1 with process id 5119.
2008-09-20 18:44:42,581 (5119) INFO: Requesting window 640 x 480 32
bpp (8 8 8 0 RGBA).
2008-09-20 18:44:42,693 (5119) INFO: OpenGL 1.2 APPLE-1.5.30, Intel
GMA X3100 OpenGL Engine, Intel Inc. (PyOpenGL 3.0.0a5)
2008-09-20 18:44:42,694 (5119) INFO: Video system reports 32 bpp (8 8
8 8 RGBA).
2008-09-20 18:44:44,076 (5119) CRITICAL: Traceback (most recent call
last):
File "multi_stim.py", line 331, in <module>
pixels = RandomArray.randint(0,256,
(20,20,3)).astype(Numeric.UnsignedInt8)
ValueError: Invalid type for array
Traceback (most recent call last):
File "multi_stim.py", line 331, in <module>
pixels = RandomArray.randint(0,256,
(20,20,3)).astype(Numeric.UnsignedInt8)
This is latest versions of pretty much everything on Mac OS X.
(most other demos run great).
Hi John, It looks like you aren't using multi_stim.py from the Vision Egg 1.1.1 source. The old version (what you're using) uses Numeric's RandomArray and friends. The new version uses numpy. (numpy is the new version ofNumeric.) You can definitely fix this by running the new multi_stim.py. You can probably fix this by installing the old Numeric if you can find it.
-Andrew -- Dr. Andrew D. Straw California Institute of Technology http://www.its.caltech.edu/~astraw/ ====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
- [visionegg] Re: here's an error...
- From: Andrew Straw
- [visionegg] Re: here's an error...
- From: John Christie
- [visionegg] here's an error...
- From: John Christie
- [visionegg] Re: here's an error...
- From: Andrew Straw