Re: [SciPy-User] Is there existing code to log-with-bells-on for runtime algorithm diagnostics?

2015-05-06 Thread Rob Clewley
Just to follow up on this thread, for interested readers' future reference... On Tue, Apr 21, 2015 at 4:22 PM, Robert Kern wrote: > On Tue, Apr 21, 2015 at 8:02 PM, Rob Clewley wrote: >> In fact, I'm trying to build a general purpose tool for exploring the >> in

Re: [SciPy-User] Is there existing code to log-with-bells-on for runtime algorithm diagnostics?

2015-04-21 Thread Rob Clewley
All of these ideas and links are very helpful, thank you! -Rob -- https://mail.python.org/mailman/listinfo/python-list

Is there existing code to log-with-bells-on for runtime algorithm diagnostics?

2015-04-21 Thread Rob Clewley
Hi, I'm in need of a system for logging the step-wise results and diagnostic metadata about a python function implementation of an algorithm that I'm developing. The specific algorithm is not of great consequence except that it's for scientific computing and may produce large (e.g., '00s or maybe

Re: OT: looking for best solutions for tracking projects and skills

2013-10-12 Thread Rob Clewley
I don't know about civic hacking, but Trello is a free online tool to track high level aspects of collaborative projects. It is somewhat focused on a "to do" planning perspective. But with the customizable columns, labels, and checklists associated with items in the view I think you might be able t

Re: ODE, GUI, plotter in Python

2009-06-17 Thread Rob Clewley
There was just an announcement on this list and the scipy list for PyLab_Works, which sounds exactly like what you're looking for. I would not recommend starting over with a new simulator at this point. -Rob On Tue, Jun 16, 2009 at 12:00 PM, Ala wrote: > Hello everyone. > > I am starting on implem

Re: 4 hundred quadrillonth?

2009-05-21 Thread Rob Clewley
On Thu, May 21, 2009 at 8:19 PM, Gary Herron wrote: > MRAB wrote: >> >> Grant Edwards wrote: >>> >>> On 2009-05-21, Christian Heimes wrote: seanm...@gmail.com schrieb: > > The explaination in my introductory Python book is not very > satisfying, and I am hoping someone can e

Re: pyconfig on 64-bit machines with distutils vs 32-bit legacy code

2009-03-22 Thread Rob Clewley
Thanks for replying, Martin. I got my colleague (Nils) to run exactly the gcc call you described in your post (see below for what he ran) but it only returns the following: /home/nwagner/svn/PyDSTool/PyDSTool/tests/dopri853_temp/dop853_HHnet_vf_wrap.c:124:20: error: Python.h: Datei oder Verzeichn

pyconfig on 64-bit machines with distutils vs 32-bit legacy code

2009-03-21 Thread Rob Clewley
Hi, I have a problem compiling legacy C code using distutils on a colleague's 64 bit intel machine running linux. The legacy code is linked to user-generated code from python and distutils is a convenient platform independent way to call whatever compiler is available to create a DLL as a python m

Re: [JOB] Short-term python programming consultant - funds expire soon!

2009-03-10 Thread Rob Clewley
> Please see http://www.python.org/community/jobs/ > for where to post this most effectively. OK, sorry, I hadn't seen that site before. >> Our open-source software project (PyDSTool) has money to hire an >> experienced Python programmer on a short-term, per-task basis as a >> technical consultan

[JOB] Short-term python programming consultant - funds expire soon!

2009-03-10 Thread Rob Clewley
PyDSTool (pydstool.sourceforge.net) is a multi-platform, open-source environment offering a range of library tools and utilities for research in dynamical systems modeling for scientists and engineers. Please contact Dr. Rob Clewley (rclewley) at (@) the Department of Mathematics, Georgia State Universit

Re: Can someone tell me why i get None at the end please this has me stuck for ages

2009-02-23 Thread Rob Clewley
You get None b/c that's what's being returned from your join strings function. Your function already prints out the result and doesn't return the joined strings a your usage case expects. So either return the joined strings from your function and don't print them inside the function, or vice versa

Re: Unexpected behavior with dictionary keys containment and a user-defined class

2009-01-12 Thread Rob Clewley
>> Hi, the short version of my question is: when is a dictionary's >> __contains__ method behavior different to using the 'in' idiom? >> (because I have an example of a difference in my code). > > Never. Yes, sorry, I managed to summarize the long version incorrectly :) > Well, the only conclusio

Unexpected behavior with dictionary keys containment and a user-defined class

2009-01-12 Thread Rob Clewley
Hi, the short version of my question is: when is a dictionary's __contains__ method behavior different to using the 'in' idiom? (because I have an example of a difference in my code). Longer version: I have a user-defined class with a few overrides of special methods, particularly __eq__ and __ne_

Re: floating point arithmetic

2008-08-26 Thread Rob Clewley
> I understand that due to different arithmetic used in floating points > they are just approximations. Hence, 180/100=1 in my python interpreter. No, that's not the reason you get 1, it's because the current version of python does integer division by default. Try doing 180.0/100 or including fro

Re: New python module to simulate arbitrary fixed and infinite precision binary floating point

2008-08-11 Thread Rob Clewley
> > Is this related to minifloats? > > http://en.wikipedia.org/wiki/Minifloat > Strictly speaking, yes, although after a brief introduction to the general idea, the entry on that page focuses entirely on the interpretation of the values as integers. My code *only* represents the values in the same

New python module to simulate arbitrary fixed and infinite precision binary floating point

2008-08-10 Thread Rob Clewley
Dear Pythonistas, How many times have we seen posts recently along the lines of "why is it that 0.1 appears as 0.10001 in python?" that lead to posters being sent to the definition of the IEEE 754 standard and the decimal.py module? I am teaching an introductory numerical analysis clas

Re: Mathematical Python Library

2008-04-07 Thread Rob Clewley
The closest thing so far is probably going to be a combination of the numpy, scipy, and sympy libraries. The latter is the one with the most functionality for solving equations algebraically, but is also the least mature package at the moment. The first two also provide the basic tools for calculat

ANN: PyDSTool 0.85 released

2007-07-11 Thread Rob Clewley
We have released an update to the PyDSTool dynamical systems and modeling package at http://sourceforge.net/projects/pydstool. There are lots of minor improvements and fixes in this version, but a powerful new feature is the support for user-defined functions for continuation using PyCont. We hav

Re: matplotlib basic question

2007-04-19 Thread Rob Clewley
On 19 Apr 2007 16:13:43 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > So, first off, what's up with the [ > at 0x017C38C8>] line that shows up after my plot command? And second, > > when I call show(), a new figure pops up with my sin wave -- seems all > > right, yes? But I'm not given

Re: urgent - Matplolib with IDLE!

2007-03-19 Thread Rob Clewley
Dear Ana, I have the same problem with a similar setup (except Python 2.4.3) and have tried the same solutions (BTW those steps really did used to work on my machine using Python 2.3.5). In the short term you could either try IPython (a proper solution to this problem, which returns me to the prom

Re: Box plot in Python

2007-03-15 Thread Rob Clewley
Matplotlib supports boxplots in a very straightforward fashion and is reasonably documented (just google it!) I actually just submitted a patch for extra boxplot features in matplotlib, which you can find on the sourceforge patch tracker. -Rob -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: PyDSTool now compatible with numpy 1.0.1, scipy 0.5.2 and 64-bit CPUs.

2007-03-05 Thread Rob Clewley
This kind of comment comes up often, so I think it's worth spelling out a response that will persist on the web and can appear in our FAQ. I have a different and admittedly limited view of hybrid systems as part of dynamical systems theory. In principle, I would love to have time to write an inter

Re: ANN: PyDSTool now compatible with numpy 1.0.1, scipy 0.5.2 and 64-bit CPUs.

2007-03-02 Thread Rob Clewley
Mike, Yes, that is a pretty fair description of our support for symbolics using Python's own inheritance. Our ModelSpec classes provide only an elementary form of inheritance, polymorphism and type checking. We hope to expand our existing support for hybrid/DAE systems at the level of our ModelSpe

ANN: PyDSTool now compatible with numpy 1.0.1, scipy 0.5.2 and 64-bit CPUs.

2007-02-20 Thread Rob Clewley
We are pleased to announce version 0.84 of PyDSTool, an open-source dynamical systems simulation, modeling, and analysis package. This long-overdue release is primarily intended to bring existing PyDSTool functionality up to date with the latest numpy and scipy releases (previous versions required

ANN: PyDSTool v0.83.3 released

2006-09-23 Thread Rob Clewley
We are pleased to announce version 0.83.3 of our open-source simulation, modeling, and analysis package PyDSTool. New features include improved graphical capabilities in the PyCont bifurcation and continuation sub-package and its interface with AUTO, and better support for domain & bound enforcemen

ANN: updated release of PyDSTool dynamical systems package (version 0.83.2 patch #1)

2006-06-16 Thread Rob Clewley
s for your attention,Rob Clewley, Erik Sherwood, Drew LaMar,Dept. of Mathematics and Center for Applied Mathematics, Cornell University. -- http://mail.python.org/mailman/listinfo/python-list