Dyna is a free and open software for simulation of reflectivity and transmittance of x-rays and optics. It is aimed at determining structural, magnetic and electronic stackings in ultrathin multilayers.
It includes anomalous, resonant and magnetic resonant scattering factors, and a toolbox to create factors from tables.
DYNA is an on-going free open-source project, under Python + Qt, or Matlab environment.
Historically, Dyna was developped from Elza Bontempi‘s Reftool within Matlab environment. We are now in the process of switching to Python entirely. Up to now the two codes are quite similar in functionalities, the Matlab version having been tested more thoroughly.
- Boundary-Propagation matrix – Elzo’s formalism
- magnetic-sensitive susceptibility, arbitrary magnetic moment direction described by Euler angles, with the limitation of neglictible spin-orbit coupling in the valence states
- anisotropic susceptibility, in the limitation of an uniaxial symmetry along the depth of the film, for the simulation of oriented molecules or orbitally ordered films (not in python code yet)
- structural and magnetic sensitive transmittance.
- Angular/Q scans
- Energy spectra at fix angle or fix Q
- Polarization Analysis, in and out
- Refinement in user-defined interval, with limits on parameters, and constrains between parameters
- Multifit : one system is refined by simultaneous simulations of various data (angle and energy scans, of any polarization, energy or angle configurations).
- Calculates Scattering Factors from Tables
- (Python Only) Scriptable
- (Matlab only) Genetic Algorithm (requires Optimization Toolbox)
In case of use, please cite the reference paper :