[Tutor] Interpolation function

2010-03-25 Thread Armstrong, Richard J.
Hello all, Does anyone have a suggestion for a good interpolation function in numpy or scipy. I have an earthquake time history with a time step of 0.005 sec and want to convert it to a time history with a time step of say 0.01. The interpolation function numpy.interp is too "coarse" and modifi

[Tutor] How to add a description to a module

2010-03-23 Thread Armstrong, Richard J.
Hello, I have a simple question. I have created a module call Newmark.py and it runs fine, however, I want to add some documentation so that when I type in the console help(Newmark) it will give a description of the module. Any ideas? Thanks, Richie

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
python I use wxPython, which allows a statement like: wx.Execute('c:\shake91.exe "FLAC.txt" "a.txt" "b.txt"') From: Armstrong, Richard J. <mailto:rarms...@water.ca.gov> Sent: Wednesday, March 10, 2010 4:51 PM To: Wayne Werne

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne Werner Sent: Wednesday, March 10, 2010 3:00 PM To: Armstrong, Richard J. Cc: tutor@python.org Subject: Re: [Tutor] Running a dos program with python On Wed, Mar 10, 2010 at 4:51 PM, Armstrong, Richard J. wrote: The

Re: [Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
From: sri...@gmail.com [mailto:sri...@gmail.com] On Behalf Of Wayne Werner Sent: Wednesday, March 10, 2010 2:24 PM To: Armstrong, Richard J. Cc: tutor@python.org Subject: Re: [Tutor] Running a dos program with python On Wed, Mar 10, 2010 at 3:20 PM, Armstrong, Richard J. wrote: Hello

[Tutor] Running a dos program with python

2010-03-10 Thread Armstrong, Richard J.
Hello all, This is my first post to the Tutor@python.org mailing list. I am in the process of switching from Matlab to Python and there is one task that I am having a hard time doing and cannot find the answer on the web. I want to write a script in python that will open up a windows dos progra