Python implementation of signature saliency