Study of the x‐ray production mechanism of a dense plasma focus