Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Matt Feinstein
: http://calcrpnpy.sourceforge.net/clnumManual.html Unless you're using Windows. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Matt Feinstein
On Tue, 08 Nov 2005 06:43:51 -0800, Robert Kern [EMAIL PROTECTED] wrote: Matt Feinstein wrote: On Tue, 08 Nov 2005 12:30:35 GMT, Raymond L. Buvel [EMAIL PROTECTED] wrote: http://calcrpnpy.sourceforge.net/clnumManual.html Unless you're using Windows. Why? Have you tried compiling

Re: Installing Python at Work

2005-10-17 Thread Matt Feinstein
'non-local' behavior. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python

2005-10-10 Thread Matt Feinstein
procedural programming and I know what encapsulation, inheritance and polymorphism are but I have very little experience in using them as I've written just a few Java programs (i.e., I guess I could use a primer in OO programming). Any ideas? http://diveintopython.org/ Matt Feinstein

Re: Python Newbie

2005-10-05 Thread Matt Feinstein
? 2. Which toolkits can I exclude from consideration? 3. What toolkit is most popular for Windows development? 4. Are there any impartial reviews of these packages anywhere? You have to give us a clue about what you mean by 'best'. Matt Feinstein -- There is no virtue in believing

Re: Processing an image with numarray.nd image

2005-10-04 Thread Matt Feinstein
) array_dat = reshape(array(list(im.getdata())), im.size) filt_array_dat = Filter.correlate(array_dat, my_filter) et cetera... Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: morphological image processing in Python

2005-10-03 Thread Matt Feinstein
I missed the one true Python mathematical morphology toolbox? Thanks in advance for any advice. Actually, numarray does support morphological array operations. See the chapter on 'Multi-dimensional image processing' in the numarray docs. Matt Feinstein -- There is no virtue in believing

Off-screen rendering in PyOpenGL?

2005-08-17 Thread Matt Feinstein
Poking around in the PyOpenGL tarball... I can see that the wrapper for the WGL pixel format function includes flags for rendering to a bitmap and for hardware acceleration... so maybe I could get hardware-accelerated off-screen rendering under win32.. but what about linux? Matt Feinstein

Re: Gotchas in user-space matplotlib install?

2005-08-15 Thread Matt Feinstein
is apparently so far behind current levels of GTK that it is pointless to complain. Wx is still a possibility. All in all, not actually excruciating-- and now I have a working version of matplotlib! Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http

Re: Gotchas in user-space matplotlib install?

2005-08-15 Thread Matt Feinstein
On Mon, 15 Aug 2005 09:02:57 -0500, John Hunter [EMAIL PROTECTED] wrote: Matt == Matt Feinstein [EMAIL PROTECTED] writes: Matt All in all, not actually excruciating-- and now I have a Matt working version of matplotlib! Matt Feinstein Great! While this is all fresh in your mind

Gotchas in user-space matplotlib install?

2005-08-09 Thread Matt Feinstein
be appreciated. TIA... Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: Which kid's beginners programming - Python or Forth?

2005-06-28 Thread Matt Feinstein
that will a basis for learning anything about current practices in programming, teach him Python. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Problem with 'struct' module

2005-06-14 Thread Matt Feinstein
Using the 'struct' module (Win32, python version 2.4.1)-- The library documentation says that 'no alignment is required for any type'. However, struct.calcsize('fd') gives 16 while struct.calcsize('df') gives 12, implying that double precision data has to start on a double-word boundary. Matt

PIL and GeoTIFF

2005-06-09 Thread Matt Feinstein
with PIL means poking around in the PIL TIFF plugin file which I'm a little wary of doing. Also, I don't see any clear description in the PIL documentation on how to add specified TIFF keys to a saved file. Any words of wisdom about either of these questions would be much appreciated. Matt Feinstein

Unhappy with numarray docs

2005-06-01 Thread Matt Feinstein
have the degree of clairvoyance needed to figure out that import numarray.numarryall as num was required for the critical step of associating an array with a MemmapSlice. Grr. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org

Re: Unhappy with numarray docs

2005-06-01 Thread Matt Feinstein
to write documentation for a module that I'm still struggling to learn. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: Unhappy with numarray docs

2005-06-01 Thread Matt Feinstein
by the appropriate people, which would be a shame. They are generally very responsive to user requests and constructive criticism. Done. Thanks for the suggestion. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman

Applying a function to a 2-D numarray

2005-05-16 Thread Matt Feinstein
but probably generates several copies of the array, which is not so neat. Is there a better way? Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: Applying a function to a 2-D numarray

2005-05-16 Thread Matt Feinstein
]]) Is this not what you wanted? The problem is that I chose an example function that's too simple. Non-trivial functions aren't so polymorphic, unfortunately. Sorry for the confusion. Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http

Re: Applying a function to a 2-D numarray

2005-05-16 Thread Matt Feinstein
change that and everything else stays the same. However, I realize that the gain in flexibility means a loss in efficiency. I'm limited to not-so-efficient ways of. For this work, it's OK-- I just want to know the best not-so-efficient way of doing the calculation. Matt Feinstein

Numarray question

2005-05-13 Thread Matt Feinstein
Matlab), it would be a lot easier to write functions that will take either scalar or vector input values. Am I missing something? Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: Which IDE is recommended?

2005-04-27 Thread Matt Feinstein
with Matplotlib, then ipython is the right choice-- it has a special 'pylab' mode that is Matplotlib-aware, allowing you to make plots interactively (as well as various other useful features). Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org

New versions of numarray?

2005-04-25 Thread Matt Feinstein
Hi-- I notice that there are some new versions of numarray available for download-- is there any documentation on what's new/fixed/broken? Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo/python-list

Re: goto statement

2005-04-20 Thread Matt Feinstein
On Wed, 20 Apr 2005 10:23:58 +0100 (BST), praba kar [EMAIL PROTECTED] wrote: Dear All, In Python what is equivalent to goto statement I'd like to that implemented in an interpreted language. Requires some time travel. Matt Feinstein -- There is no virtue in believing something that can

My stupid newbie mistake

2005-04-11 Thread Matt Feinstein
I named a file 'try.py' and then was stumped, for a while, when import try gave a syntax error... So, how about a 'YouAreUsingAReservedWordStupid' exception ? Matt Feinstein -- There is no virtue in believing something that can be proved to be true. -- http://mail.python.org/mailman/listinfo