View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Plot fitting

Sparkles wrote on Oct 06, 2010

Hey guys me again,

I'm using slpot and fitting a function using the t button and then n, I.e:

t Fit a function to the spectrum using the ICFIT mode. Typically
iterative rejection is used to exclude spectra lines from the
fit in order to fit a smooth continuum. A second keystroke
selects what to do with the fit.


n
Do the fitting but leave the spectrum unchanged (a NOP on the
spectrum). This is useful to play with the spectrum using the
capabilities of ICFIT.


Its fitted the function and its a really good fit. But how do i find the equation for this fit??? I know the func=spline3 and order=1 but I really need a is y = ax^n+bx^(n-1) +c ..... Or whatever it may be. Any idea where I can access this??

Thanks guys

Mike Fitzpatrick wrote on Oct 06, 2010

There is a good discussion at http://iraf.net/phpBB2/viewtopic.php?t=79893&highlight=spline+coefficient

See also the FAQ at http://iraf.net/faqman/index.php?op=view&t=1

Last post on Oct 06, 2010