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

Home » Public Forums » archive » Gaussian Convolution
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: gaussian convolution [message #53174 is a reply to message #3199] Fri, 23 March 2007 10:03 Go to previous message
helaha is currently offline  helaha
Messages: 26
Registered: March 2004
Junior Member
Hello Tim,
If lower resolution means, that you want to reduce the number of
wavelength bins, then I think interpolation (INTERPOLATE, REBIN, or
CONGRID) is the way.
e.g.:
Spec = FLOATARR(100) ;100 initial intensity values
Spec =............. ; Set Spec with your values
Spec = CONGRID(Spec, 50, /INTERP);now the spectrum has only 50
wavelength bins

hope this helps,
helaha

On Mar 23, 4:00 pm, mikeinthe...@yahoo.com wrote:
> Hi there,
>
> I have a (theoretically computed) spectrum and I would like to degrade
> it to a lower resolution.
>
> I was wondering if there is any standard procedure to do it and/or
> some "pre-cooked" routine in IDL. Is there any gaussian filter
> routine?
>
> My first guess would be to use a gaussian filter in order to reduce
> the resolution. The spectrum is (intensity vs. wavelength),so I
> think 1D gaussian filter would be OK. Is there anyone with experience
> on it ?
>
> Suggestions are welcome, thanks! Cheers,
> Tim
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL graphics & LaTeX
Next Topic: ISA documentation

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

Current Time: Sun Oct 12 04:19:52 PDT 2025

Total time taken to generate the page: 0.96037 seconds