Yeah, you can mention either method -
Perhaps the ionisation method is better for medical physics; where the inner shell electron is knocked out, and thus is replaced by an outershell electron - the energy difference between the two electrons determines the frequency of the electromagnetic...