Sunspot Periodicity - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Applications and Example Worksheets : Applications : applications/SunspotPeriodicity

Sunspot Periodicity


This application will find the periodicity of sunspots with two separate approaches:


A frequency domain transformation of the data


Using autocorrelation


Both approaches should yield the same result.

withSignalProcessing: withplots: withDataSets:

International Sunspot Data

The following data set contains mean international sunspot numbers from the year 1700 to present.


The first column contains the "Year", while the second column represents the "Annual Mean Sunspot Number".


DataReferenceData setSunspot Numbers (Annual)Quandl SIDC/SUNSPOTS_Aup to 314 rows (annual), 1 column1700-12-31 - 2013-12-31


dataconvertDataReference, Matrix:

Data Set details:



Since 1981, the Royal Observatory of Belgium harbours the Sunspot Index Data center, the World data center for the Sunspot Index. Recently, the Space Weather forecast center of Paris-Meudon was transferred and added to the activities of the SIDC. Moreover, a complete archive of all images of the SOHO instrument EIT has become available at the SIDC. SIDC-team, World Data Center for the Sunspot Index, Royal Observatory of Belgium, Monthly Report on the International Sunspot Number, online catalogue of the sunspot index:

Plot the Data




pointplotseqYeari,SunspotNumberi,i=1..314,labels=Year,Wolf Number,labeldirections=horizontal,vertical,connect=true,title=Sunspot Data, titlefont=Arial,14,thickness=0, gridlines, size=800,golden

Periodicity via Fourier Transformation to the Frequency Domain

Now, calculate the period using a Fast Fourier Transform (FFT) of the first 28 data points:


Plot the power spectrum:



SignalPlotpsSunspots2..numelemspsSunspots2, samplerate=28,labels=Frequency (1/years),Power,title=Power Spectrum,titlefont=Arial,14, size=800,golden

Note the peak at a frequency of 0.09 years-1 . Try zooming in and using the point probe to confirm the value of this peak frequency.


The period is the reciprocal of the peak frequency.




Hence, the predicted periodicity is approximately 11 years.


Periodicity via Autocorrelation


SignalPlotaSunspotNumber1..36,labels=Years,,title=Autocorrelation of Sunspot Data,titlefont=Arial,14,size=800,golden;

Here the first peak is at 11 years, indicating that the periodicity of sunspots is approximately 11 years. This confirms the period predicted by the Fourier Transform approach.