The SWAT wavefront sensor