xray analysis