从网址 http://www.sidc.be/silso/datafiles 下载太阳黑子数据 (建议选择每月观测一次的数
据), 做傅里叶变换求太阳黑子的周期。
数据:http://www.sidc.be/silso/INFO/snmtotcsv.phpFilename: SN_m_tot_V2.0.csv
Format: Comma Separated values (adapted for import in spreadsheets)
The separator is the semicolon ‘;’.
Contents:
Column 1-2: Gregorian calendar dateYear
Month
Column 3: Date in fraction of year
Column 4: Monthly mean total sunspot number.
Column 5: Monthly mean standard deviation of the input sunspot numbers.
Column 6: Number of observations used to compute the monthly mean total sunspot number.
Column 7: Definitive/provisional marker. ‘1’ indicates that the value is definitive. ‘0’ indicates
that the value is still provisional.
代码实现:
# 导入用到的库