The Frascati Tokamak Upgrade Thomson scattering system: The optical and spectral analysis equipments