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

Home » Public Forums » archive » re-binning with linear interpolation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
re-binning with linear interpolation [message #76370] Wed, 01 June 2011 01:17
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
Dear all,
i have a data set in which I have two columns. The first
column is the wavelength and the second column is the flux. The data
set as follows:
wavelength flux
5201.720215 0.0097
5205.345215 0.0088
5208.970703 0.0080
5212.596191 0.0094
5216.221680 0.0133
5219.846680 0.0167
5223.472168 0.0169
5227.097656 0.0156
5230.722656 0.0145
5234.348145 0.0138
5237.973633 0.0130
5241.599121 0.0118
5245.224121 0.0110
5248.849609 0.0116
5252.475098 0.0134
5256.100586 0.0147
5259.725586 0.0139
5263.351074 0.0126
:::::::::::::::::: :::::::::

I want to re-bin the wavelength at a step of 1 A and also the flux at
the same step but with linear interpolation.

I am bit confused that which function of IDL i.e 'Rebin, Congrid,
Interpolate' I should use and how.

Hope someone know the answer.
looking for the answer.
Thanks in advance.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Frustrated by 2 Data Plotting problems
Next Topic: IDL Book Sale Extended

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

Current Time: Wed Oct 08 13:43:21 PDT 2025

Total time taken to generate the page: 0.00471 seconds