comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Any cross-platform IDL alternatives?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Any cross-platform IDL alternatives? [message #27290 is a reply to message #27168] Wed, 17 October 2001 01:54 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Karsten Rodenacker wrote:


> Are there any experiences with Python by idl users on the net? Is that
> maybe an Alternative?
>
>

I use Python and I really like it for what it's good at.

Here's the main part of a post I sent to comp.soft-sys.matlab when a thread
was running asking about MATLAB and Python.


Pro's
-----
free
embeddable and extensible (which is the main reason I chose it)
object oriented
many add-on modules (also free)
support for lists, dictionaries (associative arrays)
Numerical Python (NumPy) provides arrays of all data types (signed
and unsigned integer, float, double and complex float/double).
direct access to OS system services
fully object oriented

Con's
-----
block-structure is controlled by indentation
no structure data type
documentation quality far inferior to MATLAB's (and IDL's)
no direct support for array index operations execept a single range
(NumPy functions take() and put() do exist to do this but it's
much messier)


Specific to IDL;

extending Python can only be done by writing extensions, similar to
creating a DLM in IDL. It is, however, more difficult than writing a DLM
particularly in respect of reference counts (Python does garbage collection
on variables when the reference count is zero - decrement the ref.count
when you shouldn't and the variable can disappear on you, don't decrement
it when you should and the variable becomes a core leak).

Embedding and object orientation are it's main advantages over IDL.
If this is what you want to do Python is really good.

Not sure on the speed side but I'd guess it's quite a bit slower.

What doesn't Python have? Graphics. None at all. There are some graphics
packages available but none that I've found were much use. Certainly
nowhere near the standard of IDL direct graphics. Not a hope of object
graphics. If you need quality graphics Python is a blind alley.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Time series with 75% missing observations
Next Topic: Re: Widget_Draw - Help

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:34:57 PDT 2025

Total time taken to generate the page: 1.04027 seconds