Measurement of the ratio and of the respective partial K X-ray yields