Reflectorch is a Python package for the analysis of X-ray and neutron reflectivity data using Pytorch-based neural networks. It provides fast simulation of reflectometry curves by GPU, parameterization via YAML configuration files, and prior-aware training.
Reflectorch is a Python package for the analysis of X-ray and neutron reflectivity data using Pytorch-based neural networks developed by the Schreiber Lab in Tübingen, Germany.
The training pipeline incorporates prior boundaries for the thin film parameters as an additional input to the neural network alongside the reflectivity curves. This allows the neural network to be trained simultaneously on the well-posed subintervals of a larger parameter space on which the inverse problem would otherwise be ill-posed / underdetermined (an issue primarily related to the phase problem).
The main benefits are:
Software developed or co-developed in the scope of the DAPHNE4NFDI consortium