parseval < test.dat
#-------------------------------------------------------
# 時間軸上のパワー:time power
# 周波数上のパワー:power spectrum
#-------------------------------------------------------
# time power power spectrum gap
208.093226 208.093226 -2.84217e-014
programme
parseval.c contains the main function.