Hologram processing and light scattering in python