{"id":32,"date":"2018-01-17T21:45:38","date_gmt":"2018-01-17T21:45:38","guid":{"rendered":"https:\/\/dyna.neel.cnrs.fr\/?page_id=32"},"modified":"2023-03-03T17:10:02","modified_gmt":"2023-03-03T16:10:02","slug":"sit-18","status":"publish","type":"page","link":"https:\/\/dyna.neel.cnrs.fr\/","title":{"rendered":""},"content":{"rendered":"\n<p class=\"has-black-color has-light-gray-background-color has-text-color has-background\"><strong>Dyna is a simulation program for  reflectivity and transmittance of x-rays and optics, aimed at determining structural, magnetic and electronic stackings in ultrathin multilayers.<\/strong><\/p>\n\n\n\n<p>Dyna performs x-ray reflectivity simulation and fit, it includes anomalous, magnetic and anisotropic components in the index of refraction. Dyna simulates reflectivities either versus angle, or versus x-ray energy, with arbitrary incident and outgoing polarizations; it simulates Kerr and Faraday spectra, and transmittance through thin layers.<\/p>\n\n\n\n<p>All the simulations can be simultaneously fitted against one model.<\/p>\n\n\n\n<p>The program integrates a toolbox to create charge and magnetic scattering factors from the tables bundled with the code. <\/p>\n\n\n\n<p>Dyna was also designed for pedagogical aims, making easy to slide parameters for on-the-fly calculations.<\/p>\n\n\n\n<p>Dyna is an on-going <strong>free<\/strong> and <strong>open-source<\/strong> project, under Python + Qt, or Matlab environments. Dyna can also be freely downloaded, and support is offered to users upon reasonable request. <\/p>\n\n\n\n<p>The next release can be found on <a href=\"https:\/\/gitlab.com\/dynadevgroup\/Dyna\" target=\"_blank\" rel=\"noreferrer noopener\">GitLab<\/a>. <\/p>\n\n\n\n<p class=\"has-white-color has-blue-background-color has-text-color has-background\"><strong>Formalisms<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Parratt<\/li><li>Boundary-Propagation matrix (Elzo&#8217;s formalism for magnetic reflectivity)<\/li><\/ul>\n\n\n\n<p class=\"has-white-color has-blue-background-color has-text-color has-background\"><strong>Features<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>magnetic-sensitive susceptibility, arbitrary magnetic moment direction described by Euler angles, with the limitation of neglictible spin-orbit coupling in the valence states<\/li><li>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)<\/li><li>structural and magnetic sensitive transmittance.<\/li><li>Angular\/Q scans<\/li><li>Energy spectra at fix angle or fix Q<\/li><li>Polarization Analysis, in and out<\/li><li>Refinement in user-defined interval, with limits on parameters, and constrains between parameters<\/li><li>Multifit&nbsp;: one system is refined by simultaneous simulations of various data (angle and energy scans, of any polarization, energy or angle configurations).<\/li><li>Calculates Scattering Factors from Tables <\/li><li>(Python Only) Scriptable<\/li><li>(Matlab only) Genetic Algorithm (requires Optimization Toolbox)<\/li><\/ul>\n\n\n\n<p class=\"has-white-color has-blue-background-color has-text-color has-background\"><strong>Reference<\/strong><\/p>\n\n\n\n<p>In case of use, please cite the reference paper&nbsp;:<\/p>\n\n\n\n<p>X-ray resonant magnetic reflectivity of stratified magnetic structures: Eigenwave formalism and application to a W\/Fe\/W trilayer<\/p>\n\n\n\n<p><em>M.&nbsp;Elzo, et al., Journal of Magnetism and Magnetic Materials, 324 (2), pp. 105-112 (2012)<\/em> <\/p>\n\n\n\n<p><a href=\"http:\/\/dx.doi.org\/10.1016\/j.jmmm.2011.07.019\">http:\/\/dx.doi.org\/10.1016\/j.jmmm.20&#8230;<\/a><a class=\"clickandreadBtn\" title=\"Ressource found in  UNPAYWALL\" name=\"CLICKANDREADLink\" href=\"https:\/\/hal.archives-ouvertes.fr\/hal-00594121\/file\/Magnetic_Reflectivity.pdf\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyBpZD0iQ2FscXVlXzEiIGRhdGEtbmFtZT0iQ2FscXVlIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUwIDI4LjE4Ij48cmVjdCB3aWR0aD0iNTAiIGhlaWdodD0iMjguMTgiIHJ4PSIxNC4wOSIgc3R5bGU9ImZpbGw6IzIxY2UyMSIvPjxwYXRoIGQ9Ik0xOC45MywxNi40NWEuMzIuMzIsMCwwLDAtLjU0LjIydjJoLTRhNS4wOCw1LjA4LDAsMCwxLDAtMTAuMTZoNS4yMlY1LjQ0SDE0LjQ0YTguMTQsOC4xNCwwLDAsMCwwLDE2LjI4aDR2MmEuMzIuMzIsMCwwLDAsLjU0LjIzbDMuNTEtMy41MWEuMzQuMzQsMCwwLDAsMC0uNDZaIiBzdHlsZT0iZmlsbDojZmZmIi8+PHBhdGggZD0iTTQyLjUyLDIxLjA3bC00Ljg0LTUuNjlhMCwwLDAsMCwxLDAsMCw1LjMsNS4zLDAsMCwwLDIuNTktNC45LDUuNDMsNS40MywwLDAsMC01LjQ4LTVIMjguNDhhMCwwLDAsMCwwLDAsMFYyMS42OWEwLDAsMCwwLDAsMCwwaDMuMDVsMCwwVjguNTVzMCwwLDAsMEgzNWEyLjI0LDIuMjQsMCwwLDEsMi4yMiwyLjUzLDIuMywyLjMsMCwwLDEtMi4zMiwySDMyLjRhLjM2LjM2LDAsMCwwLS4yOC41OWw2LjYyLDcuNzlhLjkzLjkzLDAsMCwwLC42OC4zMWgyLjgxQS4zOS4zOSwwLDAsMCw0Mi41MiwyMS4wN1oiIHN0eWxlPSJmaWxsOiNmZmYiLz48Y2lyY2xlIGN4PSIyNC4yIiBjeT0iOC4yIiByPSIyLjc2IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9zdmc+\" width=\"27\"><\/a> <a href=\"https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/Magnetic_Reflectivity.pdf\">preprint<\/a><\/p>\n\n\n\n<p class=\"has-white-color has-blue-background-color has-text-color has-background\"><strong>Screenshots<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"468\" src=\"https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0.png\" alt=\"\" class=\"wp-image-506\" srcset=\"https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0.png 735w, https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0-300x191.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><figcaption>All in one GUI, experiment and sample description, optimization panel, sliders to play around with parameters. <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"468\" src=\"https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0b.png\" alt=\"\" class=\"wp-image-514\" srcset=\"https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0b.png 735w, https:\/\/dyna.neel.cnrs.fr\/wp-content\/uploads\/2020\/09\/PyDyna_v_3_0b-300x191.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><figcaption>Dyna integrates a GUI to plot and build charge and magnetic x-ray scattering factors.<\/figcaption><\/figure>\n\n\n\n<p class=\"has-white-color has-blue-background-color has-text-color has-background\"><strong>Provenance<\/strong><\/p>\n\n\n\n<p>Dyna was developped from <a href=\"http:\/\/elza-bontempi.unibs.it\/\">Elza Bontempi<\/a>&#8216;s Reftool within Matlab environment. Reftool was using Zak&#8217;s formalism. Zak&#8217;s formalism was revisited and simplified, leading to Elzo&#8217;s fomalisms. Zak&#8217;s and Elzo&#8217;s formalisms are based on the usual matricial optical formalism.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p><em>Top image: <em>study of the sun reflection on wate<\/em>r by Leonardo<\/em>, <em>from a codex in display at Da Vinci&#8217;s exhibition in 2019, Mus\u00e9e du Louvre. (S. G.)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dyna is a simulation program for reflectivity and transmittance of x-rays and optics, aimed at determining structural, magnetic and electronic stackings in ultrathin multilayers. Dyna performs x-ray reflectivity simulation and fit, it includes anomalous, magnetic and anisotropic components in the &hellip; <a href=\"https:\/\/dyna.neel.cnrs.fr\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-32","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/pages\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":134,"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/pages\/32\/revisions"}],"predecessor-version":[{"id":958,"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/pages\/32\/revisions\/958"}],"wp:attachment":[{"href":"https:\/\/dyna.neel.cnrs.fr\/index.php\/wp-json\/wp\/v2\/media?parent=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}