Comparison of different excitation methods for X-ray spectral analysis: the case of synchrotron radiation (SRFA)