1. A method for locating an object in three-dimensions with an optical system, the method comprising: generating one or more 3D point spread functions (PSF); generating one or more experimental images of the object using the one or more 3D PSF of the optical system; generating a 3D position of the object by maximizing a probability of matching the experimental image to the PSF in the presence of noise.