Diagnostic x-ray physics