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

Home » Public Forums » archive » linfit with string time array (x)
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
linfit with string time array (x) [message #63450] Mon, 10 November 2008 08:35 Go to next message
julia.walterspiel is currently offline  julia.walterspiel
Messages: 35
Registered: July 2008
Member
hi

i want to fit a line through my data with the linfit function but my x-
axis is in string format. Is there a way to avoid transforming the
string time array into non-string (e.g. other function which is as
easy as linfit)?

cheers
juls
Re: linfit with string time array (x) [message #63556 is a reply to message #63450] Tue, 11 November 2008 13:37 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
mgalloy@gmail.com schrieb:
> On Nov 11, 1:38 am, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
>> program by your own (or have been by others). A simple doctest example
>> in the code does help a lot. (idl has no unittest framework)
>
> Nothing part of IDL's library, but I do have a unit testing framework:
>
> http://michaelgalloy.com/2007/07/03/update-to-mgunit.html
>
> By the way, do you have an automated way to run the doctest examples
> you are talking about? I have thought about adding something like that
> to IDLdoc.

Not really. At the time I have written that tool for the catalog of the
library I have seen this part as documentation examples.

http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/idl_work_libraries.htm

While I am able to extract the examples, I can run them too. But
unfortuantely missed we to define how these examples should look like.
I mean a common syntax how they can be used for automated tests.
(Now I would do it similiar to python.)

One focus of the lib is a plotting environment. For this we use human
image comparison. For all the other functions we have lots of tests but
not for automated testing. I'll look in your framework.

Reimar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: linfit with string time array (x)
Next Topic: Re: Workbench: Run idl several times

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

Current Time: Wed Oct 08 13:49:33 PDT 2025

Total time taken to generate the page: 0.00465 seconds