Gravar-mail: Advancing X-ray scattering metrology using inverse genetic algorithms