Dyna project

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.

Formalisms

  • Parratt
  • Boundary-Propagation matrix – Elzo’s formalism

Features

  • 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)

Reference

In case of use, please cite the reference paper :

M. Elzo, et al., Journal of Magnetism and Magnetic Materials, 324 (2), pp. 105-112 (2012) http://dx.doi.org/10.1016/j.jmmm.20… preprint

Screenshots

All in one GUI, experiment and sample description, optimization panel, sliders to play around with parameters.
Dyna integrates a GUI to plot and build charge and magnetic x-ray scattering factors.