System and method for calibration of an X-ray tube