Text this: Research of X-ray tube energy characteristics