Python script to calculate amplitude spectrum
modify ampl_spectrum-cgps.py