Deconvolution of Images and Spectra