For those who want to play with it and don&#x27;t have access to MATLAB, I&#x27;ve spent some minutes and ported to Python:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;andersonfreitas&#x2F;pst&#x2F;blob&#x2F;master&#x2F;PST.ipynb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;andersonfreitas&#x2F;pst&#x2F;blob&#x2F;master&#x2F;PST.ipynb</a>