an x-ray generator is a device that produces x-rays. together with an x-ray detector, it is commonly used in a variety of applications including medicine, x-ray fluorescence, electronic assembly inspection, and measurement of material thickness in manufacturing operations. in medical applications, x-ray generators are used by radiographers to acquire x-ray images of the internal structures (e.g., bones) of living organisms, and also in sterilization.