Sunspot Periodicity
Introduction
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".
DataReference≔Referencequandl,SIDC/SUNSPOTS_A
DataReference≔Data setSunspot Numbers (Annual)Quandl SIDC/SUNSPOTS_Aup to 314 rows (annual), 1 column1700-12-31 - 2013-12-31
data≔convertDataReference, Matrix:
Data Set details:
DocumentTools:-TabulateNotes,GetDescriptionDataReference,weights=20,80
Notes
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: http://www.sidc.be/sunspot-data.
Plot the Data
SunspotNumber≔data..,2:
ParseYear≔x→StringTools:-ParseTime%Y-%m-%d,x:-year:
Year≔ParseYear~data..,1:
pointplot⁡seq⁡Yeari,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:
fSunspots:=FFT⁡SunspotNumber1..28:
Plot the power spectrum:
samplingRate:=1:
psSunspots:=PowerSpectrum⁡fSunspots:
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.
period:=10.09
period≔11.11111111
Hence, the predicted periodicity is approximately 11 years.
Periodicity via Autocorrelation
aSunspotNumber:=AutoCorrelation⁡SunspotNumber:
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.
Download Help Document