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

Home » Public Forums » archive » REGRESS Question
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: regress question [message #64050 is a reply to message #31982] Sun, 30 November 2008 23:42 Go to previous messageGo to previous message
mccreigh is currently offline  mccreigh
Messages: 13
Registered: January 2008
Junior Member
I have some vague recollection of doing this once within an IDL
function. A quick look turned up this, looks promising and like
something i've seen before:

Curvefit( X, Y, Weights, A [, Sigma] [, CHISQ=variable] [, /DOUBLE] [,
FITA=vector] [, FUNCTION_NAME=string] [, ITER=variable] [,
ITMAX=value] [, /NODERIVATIVE] [, STATUS={0 | 1 | 2}] [, TOL=value] [,
YERROR=variable] )
A
A vector with as many elements as the number of terms in the user-
supplied function, containing the initial estimate for each parameter.
On return, the vector A contains the fitted model parameters.

FITA
Set this keyword to a vector, with as many elements as A, which
contains a zero for each fixed parameter, and a non-zero value for
elements of A to fit. If not supplied, all parameters are taken to be
non-fixed.
[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
Previous Topic: IDL Programming Techniques, 3rd edition
Next Topic: Reading fortran

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

Current Time: Fri Oct 10 21:59:56 PDT 2025

Total time taken to generate the page: 0.72010 seconds