
"Dyna ..."

or

"Dynamic x-ray reflectivity off- or on-resonant regime for isotropic,
 magnetic and anisotropic (multi)layer simulations and refinements Program"

This is Version 3.17 posted March, 20th 2019

Copyright Institut Neel, CNRS, Grenoble, France

Contributors & Contacts: 

    Stephane Grenier, stephane.grenier@neel.cnrs.fr
    Jean-Marc Tonnerre, jean-marc.tonnerre@neel.cnrs.fr
    Nicolas Jaouen Sextants beamline, Synchrotron Soleil, nicolas.jaouen@synchrotron-soleil.fr 
    Marta Elzo (PhD, 2009-2012)
    Emmanuelle Jal (PhD, 2010-2013)              
    Ingrid Hallsteinsen - Padraic Shaffer’s group - Berkeley Nat. Lab.

Many thanks to

  E. Bontempi (Univ. Brescia)
  V. Hinkov   (MPI - Stuttgart)
  L. Ortega   (CNRS - Institut Neel)
  A. Ramos    (CNRS - Institut Neel)
  P. Yordanov (MPI - Stuttgart)

Acknowledgements:
John D'Errico, for coding the fminsearchbnd function

CHANGES FROM PREVIOUS VERSIONS

3.17 March 2019

FIX: (SG) minor fix on F0F1_qf, twopi was not defined
FIX: (SG) minor on dyna.m, enabling Q box, and giving its definition in tips.

3.16 April 2018

NEW: (Ingrid) Calculations and Layers parameters exported to ascii file
NEW: (SG & Ingrid) On the fly calculations can be turned off and on. Do calculation with cmd+c or cntrl+c. This is in case of heavy calculations with too long lag time.  

3.15 June 2016

NEW: Very minor change that does not require an 'upgrade': start with the W/Si multilayer example from Als-Nielsen&Mc Morrow textbook. 

3.14 June’15
NEW: Minor changes: buttons that set POL, LONG or PERP angles to current or to all layers at once

3.13 May’15
NEW: Minor changes: numbering the layers and indication of the angles for LONG, POL ans PERP geometries.   

3.12
NEW: capability of saving/importing a layer, so that one can change from one layer to another easily with no need to create another project. Should also help using works performed with previous versions of dyna.
FIX: a few minor bugs corrected regarding the log file

3.11
FIX: In Matlab 2014, a new optimset command does not allow all the parameters of previous versions, inducing errors during refinement.

3.10
FIX: adding and deleting simulations (ADD/DELETE SIM) was not transferring the scattering factors; calculations had to be redone. 
FIX: just after optimization procedure, tweaking Normalization/BKG/Shift was buggy, erasing the calculations.
FIX: Cancelling “Save” or “Save As” was losing the name of the current project.

3.09

FIX: "Save As" was giving an error if project had not a name yet.
FIX: error in toggling between Q and theta for calculations.
FIX: in database panel, filenames were not properly created. Now name can be specified.

3.08

FIX: data th -> q was not working.
NEW: choice in which sim to plot while multifitting
NOTE: use 'OPEN PREVIOUS VERSION' for 3.01 < Dyna's projects < 3.08 

3.07

FIX: choosing ratio either between C+ and C- or Hp and Hm was not executed leaving calculations unchanged.
FIX: error function in optimisation with ratio was not defined.

3.06
NOTE: USE OPEN OLD VERSION for < V 3.05 projects 
FIX: [since V 3.01] [multifit case] x data not properly initialised
NEW: choice of intervals for data in fit procedures

3.05
FIX:  scattering factors in energy scan calculations were not correctly loaded (the complex conjugate was loaded instead)  [bug introduced in V 3.01]
FIX: in normalization shift min and max, was not taken into account

KNOWN BUGS WAITING FOR A FIX

- when new project chosen, some boxes with previous project's values still present, like in the optimization window.
