RE: fits in channel space

From: Leutenegger, Maurice A. (GSFC-662.0)[OAK RIDGE ASSOCIATED UNIVERSITIES (ORAU)] <"Leutenegger,>
Date: Mon, 3 Aug 2009 16:33:41 -0500
Mike, Bish, et al.,

I think array_fit is what I was thinking of... but Mike makes a good point about the availability of the fitting library. I will try using define_counts along with the standard isis fitting packages, and I'll let you know how it goes. Thanks for all your suggestions!

Maurice



________________________________________
From: owner-isis-users_at_email.domain.hiddenSent: Monday, August 03, 2009 12:13 PM
To: ISIS
Subject: Re: isis-users: fits in channel space

On Aug 3, 2009, at 3:02 PM, Kazunori Ishibashi wrote:

>
> I don't have much time to elaborate, but isn't it simpler
> -- if it's a Gaussian function you want to fit -- to write
> S-lang functions using array_fit?

Oooh.  I use array_fit only very rarely.  You're then into the IDL
problem of every time you want to add a tweak to what you've done, you
have to add a whole new functions.  I.e., instead of:

fit_fun("plaw(1)+gauss(1)");

you have to write a function:

plaw_plus_gauss()

If you've already got the data in bin_hi/bin_lo/counts format, you
might as well keep running down that route.  You start building up a
useful library of fit functions that can be combined, you can use the
existing plotting routines, and you can use the existing binning
routines/ignoring routines.  As long as you pick a convention where
you know the correspondence between bin_lo/bin_hi and Angstrom (or
keV), I think that's much more flexible.

-Mike


----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe


----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Mon Aug 03 2009 - 17:33:51 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT