Skip to main content
Ctrl K

Reflectorch

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.

23
mentions
4
contributors
Get started
740 commitsLast commit ≈ 2 weeks ago10 stars2 forks

Description

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:

  • Reflectorch allows the input of prior knowledge about the investigated thin film at inference time.
  • Many pre-trained models exist to choose from, which makes it unnecessary to train your own model for standard thin film parameters.
  • Reflectorch scales well for parameter spaces significantly larger than previously tackled by other ML-based reflectomety solutions.
Keywords
Programming languages
  • Python 95%
  • Jupyter Notebook 5%
License
</>Source code
Packages

Participating organisations

University of Tübingen

Reference papers

Mentions

Contributors

Contact person

AH

Alexander Hinderhofer

Maintainer & Project Lead
University of Tübingen
0000-0001-8152-6386Mail Alexander
AH
Alexander Hinderhofer
Maintainer & Project Lead
University of Tübingen
0000-0001-8152-6386
VS
VM
Valentin Munteanu
Lead developer
University of Tübingen
0000-0002-5897-3863
FS
Frank Schreiber
Project Supervisor
Eberhard Karls Universität Tübingen
0000-0003-3659-6718

Related projects

DAPHNE4NFDI

Software developed or co-developed in the scope of the DAPHNE4NFDI consortium

Updated 26 months ago