Source: http://www.fieldtriptoolbox.org/assets/pdf/workshop/goettingen2019/2_frequency_analysis.pdf