“…To verify the validity of the novel algorithm, we analyze the accuracy of spectral barycenter results by using the parity function decomposition method and correlation coefficient solving method respectively. Ref [24] has proved that, as the relative position, the maximum value of the difference between them also changes constantly, so when the maximum value of the floating state is at the minimum, it corresponds to the position of the center of gravity of the spectrum. When there are multiple peaks, they need to be analyzed one by one.…”