Re: [Numpy-discussion] Things to address for Py3K

2006-10-12 Thread Rob Hetland

On Oct 11, 2006, at 1:41 PM, Travis Oliphant wrote:

a) an extra multiplication operator to distinguish between
 element-by-element and dot

One of the things I like about numpy is that element-by-element  
multiplication is default.  Really, most of what I do is element by  
element, punctuated by a few matrix multiplications (or whatever  
other matrix operations) at the end.  If I had a penny for every '.'  
I put in front of an operator in MATLAB, I would buy us all new  
computers -- expensive ones even.

I hope that, if there is another multiplication operator like .*,  
that this will be shorthand for dot(A, B), and not for elem-by-elem  
multiplication.

-Rob


Rob Hetland, Associate Professor
Dept. of Oceanography, Texas AM University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] More SVN testing

2006-10-12 Thread Rob Hetland

 numpy.test(10,10)
:
:
:
Ran 512 tests in 0.995s

OK
unittest.TextTestRunner object at 0x344ded0
  numpy.__version__
'1.0.dev3320'

on Intel Mac OS X 10.4.8, macpython 2.5 [Python 2.5 (r25:51918, Sep  
19 2006, 08:49:13)]

-Rob

On Oct 12, 2006, at 2:24 PM, Tim Hochberg wrote:


 I just checked in a couple of changes to SVN. I was going to check in
 errstate, but it looks like Travis beat me to it, so I contented  
 myself
 with adding a docstring and some tests.  These tests are only run  
 under
 2.5; things seem to work fine here, but if someone on a Linux box  
 whose
 running Python 2.5 could try it out I'd appreciate it. I'm  
 suspicous of
 Linux/Windows differences right now because of my run in with them
 earlier today in the tests for test_multiarray (which I believe it now
 fixed -- at least everything is working here OK).

 -tim


 -- 
 ---
 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with pre-integrated technology to make your  
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=120709bid=263057dat=121642
 ___
 Numpy-discussion mailing list
 Numpy-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Rob Hetland, Associate Professor
Dept. of Oceanography, Texas AM University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] Experience with Visit?

2006-09-15 Thread Rob Hetland

I have looked at it, and I even know somebody who is using python to  
put in a data reader for FVCOM (a finite volume ocean model).  He has  
a prototype working.  I have no experience with the python bindings  
personally.

I looked into compiling it from source (for an intel mac), but it was  
daunting so I gave up.

I also contacted them to try to put in lower level python bindings,  
so that we could create 3D graphics from the command line, but they  
didn't seem too interested in that.

Otherwise, it is a very nice workable app.

-Rob


On Sep 15, 2006, at 11:23 AM, O'Keefe, Michael wrote:

 I haven't tried VisIT before but thanks for the link. I also  
 downloaded and am checking it out.

 Along this same line of discussion, has anyone tried OOF2 which is  
 an FEA package that also has some strong python connections?

 http://www.ctcms.nist.gov/oof/oof2.html

 I'm working on a Windows machine and it the current code-base  
 doesn't seem to support Windows out of the box (if at all). Looks  
 like you can put it together for *nix or Mac OS X, though...

 --Michael

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Robert Cimrman
 Sent: Friday, September 15, 2006 8:29
 To: Discussion of Numerical Python
 Subject: Re: [Numpy-discussion] Experience with Visit?

 Travis Oliphant wrote:
 Has anybody had any experience with the 3-D visualization software
 VISIT?   It has Python bindings and seems to be pretty
 sophisticated.
 I'm wondering why I haven't heard more about it.

 http://www.llnl.gov/visit/

 No reaction up to now, so...

 I have just tried the 'getting started' part and was quite impressed,
 thanks for posting the link! Up to now I have used ParaView
 and was very
 satisfied, but the Python bindings of VisIt are a great lure.

 r.

 --
 ---
 Using Tomcat but need to do more? Need to support web
 services, security?
 Get stuff done quickly with pre-integrated technology to make
 your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on
 Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
 dat=121642
 ___
 Numpy-discussion mailing list
 Numpy-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/numpy-discussion


 -- 
 ---
 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with pre-integrated technology to make your  
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=120709bid=263057dat=121642
 ___
 Numpy-discussion mailing list
 Numpy-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Rob Hetland, Associate Professor
Dept. of Oceanography, Texas AM University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Re: [Numpy-discussion] numpy-1.0b3 under windows

2006-08-24 Thread Rob Hetland
:

 ---
 python.exe - Application Error
 ---
 The exception unknown software exception (0xc029) occurred in the
 application at location 0x7c86d474.


 Click on OK to terminate the program
 Click on CANCEL to debug the program
 ---
 OK   Cancel
 ---

 In the Python console it prints:

 -2147483648

 If you can give me some idea of what should be happening, I can  
 take a look
 at fixing it.



 When does the crash happen?  Does it happen when you press Ctrl-C?

 What's supposed to be happening is that we are registering a  
 handler for
 Ctrl-C that longjmps back to just after the code between NPY_SIGINT_ON
 and NPY_SIGINT_OFF.

 I'm not sure how to actually accomplish something like that under
 windows as I've heard mention that longjmp should not be used with
 signals under win32.

 The easy fix is to just define NPY_NO_SIGNAL in setup.py when on a
 platform that doesn't support using signals and longjmp (like  
 apparently
 win32).

 If you could figure out what to do instead on windows that would be
 preferrable.

 -Travis


 -- 
 ---
 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with pre-integrated technology to make your  
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=120709bid=263057dat=121642
 ___
 Numpy-discussion mailing list
 Numpy-discussion@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/numpy-discussion


Rob Hetland, Associate Professor
Dept. of Oceanography, Texas AM University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion