GenX Changelog

What's new in GenX 2.4.0

Jun 3, 2015
  • Added sliders and spin controls to change the parameter values, updated dynamically.
  • A new reflectivity aimed to soft matter called soft_nx.
  • Added the possibility to have a logarithmic x scale.
  • Data points causing nan and inf in the FOM can be ignored (see the Options dialog).
  • A resolution type for constant dq/q have been added to spec_nx and soft_nx.
  • Simulation data sets can be created through a wizard.
  • Added data loader for SNS BL4A (programmer: Artur Glavic)
  • Added plugin to more easily define layers (programmer: Artur Glavic)
  • Various bug fixes.

New in GenX 2.3.6 (Dec 30, 2014)

  • A new bug fix (mainly) release is out. This correct a number of issues reported see the README file for more details.

New in GenX 2.3.5 (Oct 31, 2014)

  • Changes:
  • Fixed bug that GenX does not start after installation on Windows machine.
  • Fixed bug so that command line execution works better on frozen versions.
  • Fixed bugs regarding the c extensions in the frozen version.
  • Fixed bugs in the loading and writing of hgx files

New in GenX 2.3.3-2 (Oct 27, 2014)

  • Changed the x-ray scattering length data tables to use the ffast nist, which is more accurate at low energies, database: http://www.nist.gov/pml/data/ffast/index.cfm
  • Refurbished the table of fitting parameters with new functionality and a new toolbar.
  • The reflectivity plugin has been improved:
  • Which parameter to fit can be set in the sample definition dialogs.
  • The Sample tab shows the current value of the fitted parameters and also indicates which are fitted.
  • Command line fitting has been added. Possible to run fit without the GUI.
  • A new file format based on hdf5 has been implemented (more platform independent).
  • MPI support has been added, thanks to Canrong Qiu (University of Alaska).
  • The model mag_refl can now:
  • Simulate energy scans.
  • Simulate "normal" x-ray reflectivity.
  • Simulate scans with polarisation analysis.
  • Use negative values of mag.
  • spec_nx and mag_refl can now simulate the asymmetry signal in neutron reflectivity.
  • Refactoring of the Reflectivity base models.
  • Numerous reported bugs fixed. (See http://sourceforge.net/p/gen /code/commit_browser for detailed changes).

New in GenX 2.3.3 (Oct 21, 2014)

  • Changed the x-ray scattering length data tables to use the ffast nist, which is more accurate at low energies, database: http://www.nist.gov/pml/data/ffast/index.cfm
  • Refurbished the table of fitting parameters with new functionality and a new toolbar.
  • Command line fitting has been added. Possible to run fit without the GUI.
  • A new file format based on hdf5 has been implemented (more platform independent).
  • MPI support has been added, thanks to Canrong Qiu (University of Alaska).
  • spec_nx and mag_refl can now simulate the asymmetry signal in neutron reflectivity.
  • Refactoring of the Reflectivity base models.
  • Numerous reported bugs fixed.
  • The model mag_refl can now:
  • Simulate energy scans.
  • Simulate "normal" x-ray reflectivity.
  • Simulate scans with polarisation analysis.
  • Use negative values of mag.
  • The reflectivity plugin has been improved:
  • Which parameter to fit can be set in the sample definition dialogs.
  • The Sample tab shows the current value of the fitted parameters and also indicates which are fitted.

New in GenX 2.2.0 (May 29, 2014)

  • The model mag_refl has been fully implemented and ca be considered to in beta state.
  • The model has also been evaluated against Sergey Stephanov’s x-ray server.
  • The Reflectivity plugin has been extended with:
  • SLD profiles for each simulated data set
  • Possible to define multiple instrument instances in the GUI
  • Possible to choose from different simulation functions (Specular, OffSpecular and SLD).
  • Storage of configuration files is done in the correct system folder (thanks to the module appdirs).
  • Bundled versions (no need to have python installed) with installers for OS-X and Windows.
  • Numerous reported bugs fixed. (See http://sourceforge.net/p/genx/code/commit_browser for detailed changes).

New in GenX 2.0.0 (Mar 23, 2011)

  • Fixed feature request #10 alphabetiacal sorting of the parameter
  • selection pop-up. And at the same time task #11 was fixed and a new
  • hirarchy was implemented.
  • Fixed defect #2 the fitting now checks whether the fom have change
  • appreciably. A config item in solver, 'allowed fom discrepancy'
  • has been added, default 1e-20 that sets the limit.

New in GenX 2.0 Beta 6.2 (Aug 23, 2010)

  • Fixed feature request #10 alphabetical sorting of the parameter selection pop-up. And at the same time task #11 was fixed and a new hierarchy was implemented.
  • Fixed defect #2 the fitting now checks whether the from have change appreciably.
  • A config item in solver, 'allowed from discrepancy' has been added, default 1e-20 that sets the limit.

New in GenX 2.0 Beta 5.2 (Feb 4, 2009)

  • A bugfix of a fatal bug in the interdiff.py module.

New in GenX 2.0 Beta 5.1 (Jan 15, 2009)

  • Found a bug in the tof measurements for neutrons sigma and d had needed some truncation in order to get them working. Fixed.
  • Fixed a bug that occured in my bugfix in the Reflectivty plugin.
  • Fixed bug in the optimizer saving routines, appeared only on windows and mac.

New in GenX 2.0 Beta 5 (Dec 3, 2008)

  • Changes to the Reflectivty plugin. It now tries to load an existing model when the plugin is loaded.
  • The loaded plugins is also saved as the model is saved and are tried to be loded when the model loaded again. Also it is possible to define default plugins in genx.conf.
  • Found a bug in reflectivity plugin:
  • The parameter section got many: "p = UserVars()" upon saving. Fixed
  • Fixed the Key error given when shutting GenX down. Due to that the pool of workers where living in a thread. When removed from that thread the error disappeared.
  • Added alot of error checking for loading and saving files. Should be almost idiot proof now.
  • Added Ibkg to the interdiff model (not implemented previously)
  • Added revival of the FOM vs generations plot after loading of data.
  • Fixed bugs in the insertion of the layers.
  • Added documentation to the plugins.
  • Added documentation to the data loaders.
  • Fixed export scritp+export table bug. When asked to overwrite the file the program asks about the gx file.
  • Implemented autosaving every X generation. If wanted by the user, default off.
  • Also added also atosave, errobar level, parallel processeing alternatives to the optimizer settings dialog box.
  • Added procssing as an package in the about box.
  • Added code so that the fit state also is saved to the model.
  • Solved the problem with the convolute fast. All three methods give very similair results. However it is dependent on step size integration range etc.
  • Added the possiblity to work with g/cm^3 as the density. Implemented a new scattering database for x-rays and neutrons fw, bw that makes this possible. Not tested yet.
  • Added help frames for data loaders and plugins as well. The documentation still to be written.
  • Fixed bug in exporting data sets to a dat file. Now it is a data set 3 digits wide with zeros!. Also if an extension is added it will not overwrite it. Also added an header with the time that the data was exported - can be handy.
  • Fixed the normalization problem that Gunnar found for reflectivity measurements. Fixed it up and did a nice normalization of the weight function in /lib/instrument.py. However Convolute fast with varying resolution does not work.
  • Implemented parallel processing for the model calculation with the help of the processing package. Tested and seems to work under Linux. However I only see a about 50% speed increase could it be that I have some over head?
  • Found and corrected a bug in reflectivity, the tabbing of the data sets was not compatible with the editor.
  • Added errorbar level to the configuration file. It is now possible to change the default value.
  • Fixed the reset problem of parameters when scanning them.
  • Added a point for the current paraemtervalue in the fomscan plot.
  • Also added a horizontal line for increase of the fom that determines the errorbars.
  • Added and sucessfully tested a new plugin UserFuncs to GenX.
  • This allow the user to run custom functions defined in the script.
  • Fixed a bug that the program wont close when a saved model is in active...
  • Fixed the bug with the boolean flag when importing a table with fit parameters into GenX

New in GenX 2.0 Beta 4 (Nov 7, 2008)

  • Tested and corrected bugs for the commands on the extra data. This is now fully implemented and working.
  • Fixed plotting of FOM and Pars. Autoscale flag had no effect on the updating. Fixed and tested.
  • Added a question if the model is not saved when exiting the program.
  • Added also scaling to linear autoscaling 5%. Just makes linear plots look a bit nicer.
  • Implemented a new parameter in the model interdiff.py, taylor_n so that the number of terms in the taylor expansion can be controlled.
  • Implemented additional commands for extra data. Have only tested that the the function remains with original data. Full testing remains to be done.
  • Also fixed an error handling bug in data_loader/default.py and sls_sxrd.py
  • Added question for save as if an existing file is overwritten.
  • This was also done for export script and export table.
  • Have previously fixed some serious bugs in the structurefactor part.
  • And also found and corrected bugs in the table export/import function.
  • Fixed bug in the printing and copying of the plots. Could only print or copy the first plot.
  • Implemented scatttering lengths plots in the reflectivity plugin.
  • Made modification so the user can see wheter or not any changes has been made since the last saving of the model. This is displayed by a little star after teh filename
  • Fixed a bug reported by Gunnar needed resolution to have footprint correction.
  • Added background as a paraemter to interdiff and spec_nx
  • Fixed a bug found by Gunnar in the reflectivty module: The module did not handle layers correctly (order changed in the stacks)
  • Fixed a new bug found by me: The new implementation of proxy objects did not work with the custom dialog module used in the reflectivity module.
  • Implemented some more help on the modules with my help scheme, html docstrings.
  • IMplemented the either or algorithm in DiffEv both with random base vector as well as the best vector as base. Tested and works
  • Fixed the scattering factor database acess to automagically update the values when changing the database references.
  • Added colourized html text to the Refelctvity plugin.
  • Added tooltips to reflectivity plugin and data panel.
  • Added a frame to display doc strings html formatted from the different modules in the models directory.

New in GenX 2.0 Beta 3.1 (Oct 27, 2008)

  • A bugfix realease which fixes a major bug in the scatteringlenghts module. These (two) bugs resulted in wrong calculations of the fp vaules close to a absorption edge and also when more than one element was combined.