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

Home » Public Forums » archive » interpolation of two different model
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
interpolation of two different model [message #82599] Mon, 07 January 2013 12:49 Go to previous message
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
I have the following 2 data file (2900-4.0-0.5.txt, 2900-4.0-0.0.txt) for example which contain wavelength and flux. The number of data in the both the files are not same.

(Where 2900 is Temperature, 4.0 is gravity and -0.5 and -0.0 is the metallicity)
2900-4.0-0.5 2900-4.0-0.0
wave flux wave flux
1 0.3 1.0 0.5
2 0.4 1.4 0.1
3 0.1 3.1 0.4
4 0.5 4.0 0.3
5 0.4 5.1 0.2
6 0.6

I need to interpolate these two data file i.e between -0.5 and -0.0 at a step of 0.1. I don't know how i can interpolate these two different files in IDL. Any help will be appreciated.

thanks in advance
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: compare 2-d array with vector
Next Topic: compare 2-d array with vector

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

Current Time: Wed Oct 08 19:44:13 PDT 2025

Total time taken to generate the page: 0.00369 seconds