MSE 640 Lecture 18: X-ray production in the TEM