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

Home » Public Forums » archive » moment functions with dimen keyword
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: moment functions with dimen keyword [message #63852 is a reply to message #63797] Thu, 20 November 2008 08:32 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Nov 20, 2:40 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> On Nov 20, 4:28 am, Spon <christoph.b...@gmail.com> wrote:
>
>
>
>> On Nov 20, 12:08 am, Jeremy Bailin <astroco...@gmail.com> wrote about:
>
>>> [...] making versions of the built-in MOMENT, MEAN,
>>> VARIANCE, STDDEV, SKEWNESS and KURTOSIS functions so that they accept
>>> a DIMEN= keyword that works as you'd expect.
>
>>> Or is this something that no one really needs
>>> anyway? :-)=
>
>>> -Jeremy.
>
>> Hi Jeremy,
>
>> this addition would definitely be much appreciated :-)
>
>> I think I would personally opt for giving the new functions different
>> names, just to prevent any back-compatability issues (deep nested mean
>> () calls in procedures that have _extra keywords set and suddenly
>> don't do what you're expecting, for example.)
>
>> Looking forward to this, it would simplify things greatly for me!
>
>> Thanks,
>> Chris
>
> Chris,
>
> Actually, they are all renamed to MOMENT_D, MEAN_D, etc. Perhaps I
> might distribute a shell script that you can run somewhere in your
> path that goes and finds the built-in moment etc. functions, copies
> them over, renames them to the _D versions, and then applies my
> patches. That way I don't distribute any ITT code, but it's simple to
> distribute my functions. At least, I could do that for Unix/Mac...
> does Windows have the Bourne shell? (or patch, for that matter?) :-)=
>
> -Jeremy.
>
> -Jeremy.

Jeremy,

I use Cygwin for this sort of stuff. It does a pretty good impression
of BASH, even if it is a bit of a monster in terms of size (it also
supports X11 which is where, I suspect, the extra weight comes from).
I've never tried to run IDL through it, though, I suspect there's a
lot of headaches down that path!
It'd be fine for running a script through, although possibly trying to
get it to mount all the windows directories stored in IDL's !path
would be fun! :-)

Regards,
Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Why the contour does not show?
Next Topic: Too Many Posts

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

Current Time: Fri Oct 10 14:51:25 PDT 2025

Total time taken to generate the page: 1.28117 seconds