add freqanalysis.py