What is Genx?
GenX is a versatile program using the differential evolution
algorithm for fitting, primarily, X-ray and neutron reflectivity data,
lately also surface x-ray diffraction data. The differential evolution
algorithm is a robust optimization method which avoids local minima
but at same is a highly effective. GenX is written in python
and uses the wxpython package
for the Graphical User Interface (GUI) .
A model to fit is defined either through a GUI plug-in or via a python
script. The possibility to script everything makes it easy to develop
completely new fitting models. Clearly, GenX is extremely modular,
making it possible to extend the program with models and plug-ins for
most fitting problems. At the present GenX is shipped with models for
x-ray and neutron specular reflectivity, off-specular x-ray
reflectivity and surface x-ray diffraction. A detailed description of
GenX 3 has been published in
A. Glavic and M. Björck J. Appl. Cryst. 55, 1063-1071 (2022). The program can be downloaded by
clicking on the link on the right hand side.
Feedback and Help
Naturally a program does not become better if I do not get feedback from you! If you found a bug or want to have something included in the program submit a ticket on SourceForge or drop me an e-mail.
News 
Last updated: 05/21/2021