Fullfilled the delay spectrum method in psnew.py.