malcolm.modules.demo.util

malcolm.modules.demo.util.make_gaussian_blob(width, height)[source]

Make a Gaussian Blob with float values in range 0..1

malcolm.modules.demo.util.interesting_pattern(point: scanpointgenerator.core.point.Point) float[source]

This function is interesting in x and y in range -10..10. Given a Point, use the x and y values contained in it to make a float value in range 0..1