Routine to evaluate resolution by using the fourier spectrum of line profiles