Shake‐up and shake‐off excitations with associated electron losses in X‐ray studies of proteins