X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 May 2016 11:49 AM by  anon
Source-code directoryin IDL
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
13 May 2016 11:49 AM
    Hi, i am using idl for the first time. My question is: If one starts "demo" in idl (within the terminal/console), there are some examples. Under the directory "math and statistics" -> "math and statistics demo", there is an example for a polynomial fit. Where is the source code for this polynomial fit within idl? best regards

    Deleted User



    Basic Member


    Posts:143
    Basic Member


    --
    20 May 2016 11:26 AM
    You can use the ROUTINE_INFO routine to find the location/source of routines: IDL> ROUTINE_FILEPATH("demo") C:\Program Files\Exelis\IDL85\lib\hook\demo.sav "demo" is provided as a "sav" file (a pre-compiled program) and there does not come with source code. However, IDL does have a POLY_FIT routine that can be used to generate polynomial fits. A link to the documentation (with an example) is for this routine is shown below: http://www.harrisgeospati...m/docs/POLY_FIT.html
    You are not authorized to post a reply.