# Periodogram and frequency

From: Rodrigo Colpo <rodrigocolpo2_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 22 2013 - 08:17:51 MDT

Dear all, I have created a list where the number "2" is equally spaced, like this: [0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0] ... using the following script: Test1 = new(100,integer) Test1 = 0 do i = 1, dimsizes(listTest21) -1   if (i%4 .eq. 0) then     Test1(i-1 ) = 2   end if end do So, every 4 elements, there is one "2".  Then, I used the "specx_anal" function the have information about the "frequency", and ploted the following graph of the periodogram (@spcx):  https://docs.google.com/file/d/0BxhksDtMuWrVdTVIdkdJcWVUVVE/edit?usp But I want this pick to be over the value 4, not 50. The 4, in this case, means the frequency with which the 2 repeats (or have oscillations in the "numbers"). The idea is to apply this principle to retrieve information about the time scale needed for clouds to change its "behavior". Best wishes, Rodrigo.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 22 08:18:14 2013

This archive was generated by hypermail 2.1.8 : Fri Aug 30 2013 - 14:04:57 MDT