Measurement and calculation of absolute intensities of x‐ray spectra