A start on technique 1 as scratched in the wiki. Might need to use convolution utilities from SciPy at some point.