A method of wavefront (100) analysis including applying a transform to the wavefront, applying a plurality of different phase changes (110, 112, 114) to the transformed wavefront (108), obtaining a plurality of intensity maps (130, 132, 134) wherein the plurality of different phase changes are applied to region of the transformed wavefront, corresponding to a shape of the light source.