473,597 Members | 2,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

scientific libraries for python

Hi all,

I want to use the current need for a Levenberg-Marquardt least squares
fitting procedure
for my long term desire to dive into scientific libraries for python.
However, I am always
confused by the shear sheer variety of available packages and the fact
that some of them
(Numeric, Numarray) seem to be outdated.

http://wiki.python.org/moin/NumericAndScientific gives a nice overview
of the most
popular packages. According to this listing, ScientificPytho n and
PyDSTool seem most
appropriate for what I generally work on (simulations of dynamical
systems and data
analysis).

Before I start to dive into one of these packages (I would go for
ScientificPytho n from what
I know so far), I want to ask about your experiences. Is there a good
reason to choose
one instead of the other? Or do they even work together, in the sense
that I can use
PyDSTool to generate data to be later analyzed by ScientifPython
without much timeconsuming
conversion a.s.o. in between?

Thanks for any suggestions!

- harold -

May 11 '06 #1
1 1582
Harold Fellermann wrote:
Hi all,

I want to use the current need for a Levenberg-Marquardt least squares
fitting procedure
for my long term desire to dive into scientific libraries for python.
Does it have to be Levenberg-Marquardt, or will another non-linear least squares
procedure do?
However, I am always
confused by the shear sheer variety of available packages and the fact
that some of them
(Numeric, Numarray) seem to be outdated.
Fair enough.
http://wiki.python.org/moin/NumericAndScientific gives a nice overview
of the most
popular packages. According to this listing, ScientificPytho n and
PyDSTool seem most
appropriate for what I generally work on (simulations of dynamical
systems and data
analysis).
I find this page to be a little bit richer:

http://www.scipy.org/Topical_Software
Before I start to dive into one of these packages (I would go for
ScientificPytho n from what
I know so far), I want to ask about your experiences. Is there a good
reason to choose
one instead of the other?
They are largely orthogonal to one another in capabilities. You would use the
package that solves the problem in front of you. Quite possibly, you will be
using both.
Or do they even work together, in the sense
that I can use
PyDSTool to generate data to be later analyzed by ScientifPython
without much timeconsuming
conversion a.s.o. in between?


Both of them currently use the old Numeric so there are no real issues
converting between the two of them; they both use the same arrays. Install the
latest version of old Numeric (24.2), and you can convert to numpy arrays
without wasting memory.

For nonlinear least squares, I would probably recommend using my wrappers of
ODRPACK currently residing in the scipy sandbox. It uses numpy. It is very flexible.

http://projects.scipy.org/scipy/scip...ib/sandbox/odr

If you need help installing scipy or using odr, come over to one of the scipy
lists, and I'll help you out.

http://www.scipy.org/Mailing_Lists

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

May 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1419
by: Lucas Raab | last post by:
Is there a version of SciPy or Scientific (correct me if they're the same) available for Python 2.3.2?? If there's not could somebody point me in the right direction on getting an equivalent?? Thanks
3
2125
by: Lindon | last post by:
whats the industry standard libraries for scientific mathematical programming? I did a few searchs and it seems Lapack and the Gnu Scientific Libraries are the two big ones, but what else? Any good link collections out there? Doesn't really matter what language (since its going to be either c/c++/fortran, right?)
0
1006
by: Marco Hernandez | last post by:
I have tried to use the GNU Scientific Libraries (GSL) with MDE 7.1 But I get the message error LNK2019: unresolved external symbol _gsl_sort_largest referenced in function _mai This set of libraries work fine with Visual C++ 6.0 Could you please tell me how I can run these libraries in MDE 7.1 Thank you for your help
20
2564
by: mclaugb | last post by:
Has anyone recompiled the Scientific Computing package using NumPy instead of Numeric? I need a least squares algorithm and a Newton Rhaphson algorithm which is contained in Numeric but all the documentation out there says that Numeric is crap and all code should be using NumPy. Thanks, Bryan
53
4321
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
11
3626
by: Fie Pye | last post by:
Hallo I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chosepython, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author...
5
1593
by: Grant Edwards | last post by:
Can anybody point me to a windows installer for scientific python that will work with Python 2.4? The Scientific python download page only has an installer for Python 2.3. -- Grant Edwards grante Yow! Yow! I like my new at DENTIST... visi.com
85
5304
by: g | last post by:
Hello, is there any library for C as Boost is for C++? thanks in advance,
2
2686
by: Dr. Colombes | last post by:
Is there an easy scientific graphics (plotting) package for Python 2.5.1 running on Ubuntu Linux 7.1 ("Gutsy Gibbon")? A few years ago I used PyLab (a MatLab-like plotting module for Python) on a Windows machine, but I don't know if there is a similar easy-to-install-and-use Python 2.5.1-compatible graphics package for Ubuntu Linux 7.1? Thanks for any suggestions.
0
7959
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7883
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8263
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5421
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3876
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3917
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.