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

Home » Public Forums » archive » Re: How to do surface fit?
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: How to do surface fit? [message #10782] Wed, 28 January 1998 00:00 Go to previous message
Gang Chen is currently offline  Gang Chen
Messages: 4
Registered: January 1998
Junior Member
> Use the KX keyword to SFIT, it will return an array of coefficients, in
> your case:
>
> IDL> zfit = SFIT(z,2,KX=k)>
> IDL> help,k
> COEFF FLOAT = Array[3, 3]
>
> They are calculated with the convention X= 0,...,NX and Y=0,...,NY
> (so you must to make the needed conversion).


Hi Evilio,

I really appreciate your help on this. It seems that it almost works the
way Iwanted. But I have another question: Since the default grids are
set withX= 0,...,NX and Y=0,...,NY in the source code for SFIT, how can
I do for anon-uniform grids (e.g., X=0, 1, 4, 5, 9, ..., and Y=3, 4, 7,
11, ..)? Do I have to resort to interpolation so that values at uniform
grids can be distributed?

Many thanks,
Gang Chen == gang@cochise.biosci.arizona.edu
[Message index]
 
Read Message
Read Message
Previous Topic: How to do Surface Fitting with Singular Value Decompositin (SVD)?
Next Topic: Re: xvaredit

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

Current Time: Sun Oct 12 00:26:49 PDT 2025

Total time taken to generate the page: 1.04143 seconds