Spectral and Analytic Inverse Problems