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

Home » Public Forums » archive » Re: wavenum, frequency FFT plot
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: wavenum, frequency FFT plot [message #66172] Thu, 23 April 2009 15:03 Go to next message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
<kishore1818@gmail.com> wrote in message
news:c004f032-02b9-4990-a268-73966d3c6383@a5g2000pre.googleg roups.com...
> Hi,
> I have time vs latitudinal values and I would like to estimate the
> power spectral density 2-D do the 2-D FFT to get the frequency VS wave
> number .
> Example : data sets are (30,8); 30=days values and 8 latitudinal avg.
> data
> I am planning to wave number, frequency and power contour plot.
> x-axis zonal wave number range is -7 to 7
> Y-axis frequency range is -1. To 1.
> Does anybody have a good example program on 2D FFT in IDL program.
>
> Thanking you,
>
> Kishore


You mean longitudinal values (for zonal wavenumber)?
And is it global (45 deg sampling)?

just call FFT on the data, keep in mind that it is symmetrical
across the origin, and that you're index numbers are the wavenumbers
in the k_lon direction.

The sampling in time is i/(NT), where T is the sampling interval in time.


cheers,
bob
Re: wavenum, frequency FFT plot [message #66239 is a reply to message #66172] Mon, 27 April 2009 14:28 Go to previous message
kishore1818 is currently offline  kishore1818
Messages: 24
Registered: June 2007
Junior Member
On Apr 23, 3:03 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
> <kishore1...@gmail.com> wrote in message
>
> news:c004f032-02b9-4990-a268-73966d3c6383@a5g2000pre.googleg roups.com...
>
>> Hi,
>> I have time vs  latitudinal values and I would like to estimate the
>> power spectral density 2-D do the 2-D FFT to get the frequency VS wave
>> number .
>> Example : data sets are (30,8); 30=days values and 8 latitudinal avg.
>> data
>> I am planning to wave number, frequency and power contour plot.
>> x-axis zonal wave number range is -7 to 7
>> Y-axis frequency range is -1. To 1.
>> Does anybody have a good example program on 2D FFT in IDL program.
>
>> Thanking you,
>
>> Kishore
>
> You mean longitudinal values (for zonal wavenumber)?
> And is it global (45 deg sampling)?
>
> just call FFT on the data, keep in mind that it is symmetrical
> across the origin, and that you're index numbers are the wavenumbers
> in the k_lon direction.
>
> The sampling in time is i/(NT), where T is the sampling interval in time.
>
> cheers,
> bob

Hi Bob,
Thanks for your e-mail message.
Actually I have 365 days daily avg values, every 10 deg latitudinal
averages.
ie., (365,18). I need to calculate the psd for 30days data sets for
all latitudinal values.
But I am planning to plot contour: wvae no. (x axis), frequency (y-
axis) and z is power.
could you give a example program then it is very easy to understand to
me and also I am beginner in IDL.

Thanking you,
Kishore
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: linear regression between two array with different number of emelemts
Next Topic: How to draw a 2-D arrow [1,2] at point [3,4]?

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

Current Time: Wed Oct 08 15:48:11 PDT 2025

Total time taken to generate the page: 0.00463 seconds