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

Home » Public Forums » archive » Re: IDL, PV-Wave, Matlab, Khoros
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL, PV-Wave, Matlab, Khoros [message #670] Thu, 21 January 1993 07:59
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
In article <1jjo6jINN1tn@usenet.INS.CWRU.Edu>, at913@cleveland.Freenet.Edu (Mirko Vukovic) writes...

(stuff deleted)

> Programs written in IDL can be 30-60 times slower than equivalent programs
> written in FORTRAN, but if one uses extensive array manipulation facilities
> execution improves tremendously (factors of 10).

(rest deleted)

Actually our experience has been that, depending on the problem and how the IDL
code is written, IDL routines are just about as fast as an equivalent FORTRAN
routine. The secret seems to be the use of loops. If you can write your code
without any DO loops--and a lot of times you can--then IDL's performance is
just about the same as a FORTRAN routine. If you need to use loops, then
performance suffers greatly from the need to reinterpret the commands over and
over again.

A lot of times I've seen less experienced IDL programs use loops when there
were ways to avoid them--I've been guilty of it myself.

Bill Thompson
Re: IDL, PV-Wave, Matlab, Khoros [message #673 is a reply to message #670] Wed, 20 January 1993 06:39 Go to previous message
at913 is currently offline  at913
Messages: 9
Registered: January 1993
Junior Member
In a previous article, thompson@stars.gsfc.nasa.gov (William Thompson, code 682.1, x2040) says:

> In article <1993Jan19.175815.8722@iscnvx.lmsc.lockheed.com>, kevin@dipl.rdd.lmsc.lockheed.com writes...
>> alan@elroy.Jpl.Nasa.Gov (Alan S. Mazer) writes:
>>
>>> Can someone tell me how these packages might compare in an image analysis
>>> environment? What I really need is a nice front end that can do plots and
>>> simple image manipulation and interface easily with a lot of custom C code.
>>
>> I don't know about IDL or Khoros, but:
>>
>> PV Wave is primarily a graphics package that has math functions
>> on the side.
>
> IDL and PV Wave are very similar products having a common ancestor (an older
> version of IDL). The above description could apply equally well to IDL.
>
Personally, I think IDL presents an excellent mix of math capabilities and
graphics. Easy to produce numbers, easy to plot them.
Programs written in IDL can be 30-60 times slower than equivalent programs
written in FORTRAN, but if one uses extensive array manipulation facilities
execution improves tremendously (factors of 10).


> I don't know about PV-Wave, but IDL's C interface is *very* easy to use, IMHO.
> I think that this feature is one of those that is *not* identical between the
> two packages, but can't be positive.
>
I second that

> Bill Thompson
>
--
Mirko Vukovic
University of Wisconsin -- Madison
VUKOVIC@UWMFE.NEEP.WISC.EDU
Re: IDL, PV-Wave, Matlab, Khoros [message #675 is a reply to message #673] Tue, 19 January 1993 13:49 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
In article <1993Jan19.175815.8722@iscnvx.lmsc.lockheed.com>, kevin@dipl.rdd.lmsc.lockheed.com writes...
> alan@elroy.Jpl.Nasa.Gov (Alan S. Mazer) writes:
>
>> Can someone tell me how these packages might compare in an image analysis
>> environment? What I really need is a nice front end that can do plots and
>> simple image manipulation and interface easily with a lot of custom C code.
>
> I don't know about IDL or Khoros, but:
>
> PV Wave is primarily a graphics package that has math functions
> on the side.

IDL and PV Wave are very similar products having a common ancestor (an older
version of IDL). The above description could apply equally well to IDL.

> Matlab is primarily a math package (or more precisely a matrix math
> package) that has graphics functions on the side.
>
> Not suprisingly, Wave is better at graphics and Matlab is better at
> math. Both packages have C interfaces, but the C interface to matlab
> is easier than the one to Wave

I don't know about PV-Wave, but IDL's C interface is *very* easy to use, IMHO.
I think that this feature is one of those that is *not* identical between the
two packages, but can't be positive.

Bill Thompson
Re: IDL, PV-Wave, Matlab, Khoros [message #677 is a reply to message #675] Tue, 19 January 1993 09:58 Go to previous message
kevin is currently offline  kevin
Messages: 17
Registered: August 1992
Junior Member
alan@elroy.Jpl.Nasa.Gov (Alan S. Mazer) writes:

> Can someone tell me how these packages might compare in an image analysis
> environment? What I really need is a nice front end that can do plots and
> simple image manipulation and interface easily with a lot of custom C code.

I don't know about IDL or Khoros, but:

PV Wave is primarily a graphics package that has math functions
on the side.

Matlab is primarily a math package (or more precisely a matrix math
package) that has graphics functions on the side.

Not suprisingly, Wave is better at graphics and Matlab is better at
math. Both packages have C interfaces, but the C interface to matlab
is easier than the one to Wave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Creating LP Filters
Next Topic: PV-Wave X output directed into another X Application

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

Current Time: Fri Oct 10 08:18:49 PDT 2025

Total time taken to generate the page: 0.48190 seconds