The Affine uncertainty principle in one and two dimensions