X-ray crystallography chemical analysis