gaussfold [message #77393] |
Thu, 25 August 2011 14:33 |
abc
Messages: 46 Registered: March 2011
|
Member |
|
|
Dear all,
I want to degrade my spectrum from 0.3 A to 1.5 A. For
this I am using gaussfold.pro. When i plot the spectrum it work fine
but when i print the output it is not printing the "wavelength" and
"fsmooth" at the desired resolution i.e at 1.5. and the index value of
for "fsmooth" and "wavelength" should not be same as I am reducing the
wavelength and flux i.e at 1.5 A resolution. Here is my program.
wavelength = available_wavelength ; at 0.3 A resolution
flux = available_flux ; flux corresponding
0.3 A resolution
resolution = 1.5
; fsmooth is the flux corresponding 1.5 A resolution
fsmooth = gaussfold(wavelength,flux,resolution)
plot, wavelength,fsmooth
problem:
1) The index value of "wavelength" and "flux" which is input is 1000
but the index value of fsmooth should be less then 1000 but when i
print the index value it is same as index value of "wavelength" and
"flux"
2) how can i print "wavelength" corresponding " fsmooth" i.e
corresponding to 1.5 A resolution.
Any help will be appreciable.
thanks in advance
|
|
|