Ctrl K

Made2Reflect

A Python package for calculating neutron and X-ray reflectivity profiles from molecular dynamics simulations.

2
contributors
440 commitsLast commit ≈ 1 day ago1 star0 forks

Description

md2reflect reads MD simulation trajectories, computes element-resolved
concentration profiles along the z-axis, and converts them to scattering
length density (SLD) profiles. Semi-infinite substrate and bulk layers
are added to the simulation data, interfacial roughness is applied, and
the expected reflectivity curve is calculated via the Abeles matrix
method.

Key capabilities:

  • Trajectory reading via MDAnalysis (PDB, XTC, DCD, GRO, ...)
  • Isotopic substitution on arbitrary atom selections
  • Dual-probe SLD: neutron and X-ray profiles from the same
    simulation, switchable at any point
  • Convolution and Nevot-Croce roughness models
  • Optimal step-function discretisation of continuous SLD profiles
    (penalised Potts and constrained min-bin objectives)
  • BornAgain export for advanced fitting workflows (optional)
  • Interactive visualisation of SLD, reflectivity, and element
    density profiles
Logo of Made2Reflect
Keywords
Programming languages
  • Python 100%
  • Shell 0%
  • Dockerfile 0%
License
</>Source code
Packages
codebase.helmholtz.cloud

Participating organisations

German Engineering Materials Science Centre (GEMS)
Helmholtz-Zentrum Hereon
DAPHNE4NFDI

Contributors

JM
Jean-François Moulin
Author/Developer/Maintainer
Helmholtz-Zentrum hereon
SB
Sebastian Busch
Author/Developer/Maintainer
Helmholtz Zentrum hereon

Helmholtz Program-oriented Funding IV

Research Field
Research Program
PoF Topic

Related software

BornAgain

BO

Software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering. The latter is computed as usual, using the distorted-wave Born approximation, hence the name. Users can set up arbitrary multilayer samples with interface roughness and embedded nanoparticles.

Updated 1 week ago
118 5