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

Home » Public Forums » archive » gaussfold
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
gaussfold [message #77393] Thu, 25 August 2011 14:33
abc is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to "reuse" a function graphics plot window?
Next Topic: ImageMagick and Landscape Encapsulated PostScript Files

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

Current Time: Wed Oct 08 15:13:08 PDT 2025

Total time taken to generate the page: 0.00487 seconds