frequencyanalysis.py