Re: fits in channel space

From: Michael Nowak <mnowak_at_email.domain.hidden>
Date: Mon, 3 Aug 2009 15:13:05 -0400
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:


you have to write a function:


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.


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:
Received on Mon Aug 03 2009 - 15:13:07 EDT

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