Python ports of some of Peter Kovesi's MATLAB functions for image analysis using local phase information