Recent Releases of jabs

jabs - v0.7.6

  • Fixes a crash in "show fit correlation" due to NULL pointer
  • Fixed broken optimization in stopping force calculation, results are not affected
  • Default fitting is slow mode only, dual (fast + slow) can be enabled
  • Added SIMNRA namespace to XML (IDF) export, layer roughness (gamma) is now included in exported IDF files so that SIMNRA can read it correctly
  • Some more internal help
  • Added "reset fit ranges" command
  • Improved the example
  • Code cleanup
  • Distribution improvements
  • Bugfixes

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.7.5...v0.7.6

- C
Published by jaakkojulin about 1 year ago

jabs - v0.7.5

What's Changed

  • Added a command (show fit correlation) to output fit parameter correlation coefficients. This was previously only output after fitting if verbosity level was MSG_VERBOSE.
  • Calculation of confidence limits (results not to be trusted!)
  • Kinematics calculator kin can also calculate kinematics of R33 file based reactions
  • More warning messages if sample parsing fails

Bugfixes

  • show sim command showed output at MSG_VERBOSE verbosity level
  • macOS deployment fixed, created app bundles (DMGs) will actually run on macOS.
  • Windows releases should have OpenMP now for both GUI and CLI versions
  • Other minor bugfixes

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.7.4...v0.7.5

- C
Published by jaakkojulin over 1 year ago

jabs - v0.7.4

What's Changed

  • Interactive mode uses readline (enables editing) if available
  • Added support for IDF import and export of detector foil (stopping foil)
  • Reset current working directory in Qt UI always when running the script, not just when the file is first loaded.
  • Added reaction yield scaling (ad-hoc). Changed handling of add reaction modifiers (cs, min, max, yield) so that these can be applied also to R33 reactions using load reaction.
  • help version command reports JIBAL, GSL and libxml2 library version numbers too and runs libxml2 version check (results are not reported to UI if running qjabs)
  • Print valid options if ambiguous or invalid option is given when using set script command.
  • QJaBS: Logscale counts axis in UI starts from 0.1 counts.
  • GitHub build actions by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/18
  • Depth resolution is calculated in debug output (not in release version).
  • Miscellanous cleanup, refactoring and minor bug fixes

Bugfixes

  • Bugfix: Fixed a bug where hitting the maximum number of bricks did not produce any output at all since "last brick" was not set. Added also a warning message and debug output if this happens.
  • Bugfix: Missing allocation in fit jspaces (Jacobian calculation) for Z specific detector calibrations caused crashes when detector specific calibrations were used and a fit was attempted
  • Bugfix: Polynomial calibration is saved correctly when using save calib. Changes uses of polynomial to poly, there was some mixed usage.
  • Bugfix: Reaction Q-value was printed in keV but with "MeV" as a unit.
  • Bugfix: Reference spectra can be loaded from a file starting with a number (bug in detector number detection)
  • Bugfix (?): RK4 could under certain circumstances (stopping step high compared to ion energy) evaluate stopping below GSTO data minimum
  • Bugfix: Reaction name is calculated properly when reactions are created by plugins.
  • Bugfix: Missing stopping data warning when reaction product is a neutron is now suppressed.
  • Bugfix: NULL des_table could have been referenced (if out of memory).
  • Bugfix: Fixed a crash due to NULL pointer dereferencing when running show reactions command with debug mode on.

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.7.3...v0.7.4

- C
Published by jaakkojulin over 1 year ago

jabs - v0.7.3

What's Changed

  • IDF export by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/17
  • Some support for elliptical and square apertures for better compatibility with IDF
  • README updated

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.7.2...v0.7.3

- C
Published by jaakkojulin over 2 years ago

jabs - v0.7.2

  • One more screening model, more verbose error messages related to screening tables
  • Plot can be saved as PDF (if it works) in QJaBS
  • Bugfix: too many quotation marks in CSV output headers
  • Bugfix: thin last layers were not always simulated. Added a test case for this.
  • Bugfix: even if a reaction product stopped in the detector foil, simulation did not
  • Bugfix: neutrons (Z=0) were broken
  • Bugfix: energy loss derivative calculation assumed too high derivatives, possibly leading to nasty looking spectra
  • Parameter tuning
  • Minor restructuring

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.7.1...v0.7.2

- C
Published by jaakkojulin over 2 years ago

jabs - v0.7.1

  • Adds universal cross sections (slow) and scattering integral solver code
  • Cross sections can be pretabulated when simulation is initialized, helpful if cross sections are slow to evaluate
  • Handling of low energy cutoff changed again
  • Simulation is aborted if incident ion energy is too high compared to available stopping data
  • Cleanup
  • Several bugfixes, see list below

Full Changelog: ### https://github.com/JYU-IBA/jabs/compare/v0.7.0...v0.7.1

- C
Published by jaakkojulin almost 3 years ago

jabs - v0.7.0

What's Changed

  • Fit workspace restructuring and OpenMP support by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/16
  • Energy calibration monotonicity checks
  • Tuning of low energy cutoff
  • Improved handling of JIBAL GSTO data, slight speedup and better warnings
  • Verbosity of messages can be changed, some output is suppressed with default verbosity
  • Slightly better compatibility with dark mode (macOS) by changing some colors and using default colors in other places
  • Bugfixes

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.8...v0.7.0

- C
Published by jaakkojulin about 3 years ago

jabs - v0.6.8

What's Changed

  • Simulation routine rewritten by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/14
  • IDF import improvements by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/15
  • Bugfixes in dual scattering model and transmission geometry
  • Better low energy cutoffs
  • Checking calibration monotonicity
  • Better debug output

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.7...v0.6.8

- C
Published by jaakkojulin about 3 years ago

jabs - v0.6.7

  • Layers can have density, thickness in nm can be output if density is given
  • Thickness distribution (roughness) can be loaded from a file
  • RBS minus sign solution can be calculated and is calculated by default.
  • Restructuring of fit function, bugfixes when NOT fitting fluence corrected
  • Beginnings of plugin support, cross section (or reaction) can be loaded using a dynamically loaded library. Not supported on Windows and support needs to be turned on at compile time, the default is no plugin support.
  • Support for transmission geometry
  • Feature to convert IDF files to JaBS scripts and import them. Only supports a small subset of IDF.
  • Improvements in output messages
  • Reduction of compiler warnings
  • Several memory leaks fixed

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.6...v0.6.7

- C
Published by jaakkojulin about 3 years ago

jabs - v0.6.6

What's Changed

  • QCustomPlot updated to version 2.1.1, fixes some HIDPI related issues
  • Small UI improvements (zoom label, preferences dialog size)
  • Added one new (old) test
  • Added sanity checks and message when experimental spectrum is loaded
  • Added filename and line number to prompt when processing files (either loaded via "script load" or given as input). Interactive prompt stays the same. Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.5...v0.6.6

- C
Published by jaakkojulin over 3 years ago

jabs - v0.6.5

What's Changed

  • Accuracy of counts by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/13
  • Visibility of graphs (QJaBS) is persistent over multiple runs
  • Bugfix in reactions from files, Rutherford cross sections were as used (fallback) below lowest energy specified in file, instead of zero
  • Source code directories reorganized
  • Added fit parameters for layer yield, bragg and straggling corrections
  • Optimized implementation of default evaluation of cross sections and made it more configurable
  • Added adaptive integration (slow) for maximum accuracy of cross section evaluation. This accurate mode is not enabled by default.
  • Added new test cases for accurate mode and turned one non-Rutherford simulation example into a fit example
  • Deployment script fixes

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.4...v0.6.5

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.6.4

Usability improvements and new features for Qt GUI: - Warnings and error messages if script session or JIBAL initialisation fails - If there is a JIBAL configuration file (jibal.conf) in the same directory as qjabs.exe (not necessarily cwd) on Windows, that file is used for JIBAL initialisation. Same applies for Linux. On macOS similar approach was used already earlier to use jibal.conf in the app bundle. - Preferences dialog added, from which editor and message window fonts can be changed and location of JIBAL configuration file can be provided. This location takes precedence over the default. - Hyperlinks to Github and JIBAL files - Dialog to add plot settings added

  • Spectrum plot legend can be moved outside
  • Zooming to a rectangle implemented
  • Choosing a range (ROI) from spectrum plot to clipboard implemented
  • Coordinates of the pointer are shown

Build improvements - macOS deploy script will actually build a dmg from scratch

Bugfixes - reset command did not reset some settings to defaults - Renamed QJaBS to just JaBS in many places - Added desktop file (for Linux desktop environments) and file that associates *.jbs files with JaBS

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.3...v0.6.4

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.6.3

  • Windows improvements (icon, removed console window)
  • Recent files menu added
  • Speedup: no resimulation when fitting algorithm varies fluence
  • Improved interactivity when running a fit. Output is again updated between iterations. Added a pop-up dialog during fitting, allows aborting fit.
  • Added sanity check for roughness
  • Changed show fit commands
  • Improved plot visibility changes
  • Minor restructuring and code reformatting here and there

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.2...v0.6.3

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.6.2

What's Changed

  • Concentration fitting improved by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/12
  • Minor usability improvements
  • Fit output formatting

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.1...v0.6.2

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.6.1

Bugfixes - Memory corruption - SVG support - Histogram summing failed (in GUI)

Usability improvements - Apertures (beam, detector) can be updated without specifying all values - Fit results reported with more appropriate units (e.g. keV instead of fundamental SI-unit, J) - When changing between different calibrations, there is an attempt to copy values from previous calibration (e.g. moving from 2 degree polynomial to linear will preserve resolution, offset and slope)

Restructuring and cleanup - Removed unused code - Added information on dirty builds (git working tree) - Removed --isotopes option (unimplemented since who knows how long) - Calibration defines changed to an enum

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.6.0...v0.6.1

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.6.0

What's Changed

  • Faster fitting by @jaakkojulin in https://github.com/JYU-IBA/jabs/pull/6

Full Changelog: https://github.com/JYU-IBA/jabs/compare/v0.5.4...v0.6.0

This version has a serious memory corruption bug, it is fixed by 95eac95192e059edc9fe99fb23333461effde1e3.

- C
Published by jaakkojulin almost 4 years ago

jabs - v0.5.4

First release through GitHub.

- C
Published by jaakkojulin almost 4 years ago