diff --git a/CHANGELOG.md b/CHANGELOG.md index 250e3dc1..9f0d4ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -# Unreleased +# Version 1.4.0 (3 Aug 2026) +- Added Bayesian analysis: run MCMC sampling alongside classical fitting, with posterior median and credibility intervals on the main chart, trace/corner-style plots per parameter, a dedicated status display with cancellation support, and plot export. - Bayesian results are now cleared whenever they become stale: on project create/load/reset, when a classical fit starts, and when a new sampling run starts. Previously the posterior overlays, plots and the "Bayesian Sampling Results" dialog could show results from a superseded run or a different project. - Cancelling a fit now keeps the UI locked until the worker thread actually exits, and late signals from a superseded worker are ignored. This prevents two fits from mutating the shared parameters concurrently when the minimizer cannot abort mid-run (lmfit, DFO). - Bayesian sampling no longer fails for data files without uncertainty/resolution columns: missing `ye` falls back to zero variances (reported by the sampler with a clear message) and the unused `xe` is no longer attached to the Q coordinate. diff --git a/EasyReflectometryApp/Backends/Mock/Home.qml b/EasyReflectometryApp/Backends/Mock/Home.qml index 6e4c1d63..e2a89413 100644 --- a/EasyReflectometryApp/Backends/Mock/Home.qml +++ b/EasyReflectometryApp/Backends/Mock/Home.qml @@ -7,8 +7,8 @@ QtObject { property bool created: false readonly property var version: { - 'number': '1.3.1', - 'date': '1 May 2026', + 'number': '1.4.0', + 'date': '3 Aug 2026', } readonly property var urls: { diff --git a/EasyReflectometryApp/__version__.py b/EasyReflectometryApp/__version__.py index 72837bdc..96e3ce8d 100644 --- a/EasyReflectometryApp/__version__.py +++ b/EasyReflectometryApp/__version__.py @@ -1 +1 @@ -__version__ = '1.3.1' +__version__ = '1.4.0' diff --git a/INSTALLATION.md b/INSTALLATION.md index 1432c4ed..a8bfca08 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -2,10 +2,10 @@ To make the installation of EasyReflectometry as easy as possible, we prepare packaged releases for three major operating systems: -- [Windows](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.3.1/EasyReflectometryApp_v1.3.1_windows-2022.exe) -- [MacOS](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.3.1/EasyReflectometryApp_v1.3.1_macos-14-AppleSilicon.zip) (ARM) -- [Linux](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.3.1/EasyReflectometryApp_v1.3.1_ubuntu-22.04) (built on Ubuntu-22.04) -- [Linux](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.3.1/EasyReflectometryApp_v1.3.1_ubuntu-24.04) (built on Ubuntu-22.04) +- [Windows](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.4.0/EasyReflectometryApp_v1.4.0_windows-2022.exe) +- [MacOS](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.4.0/EasyReflectometryApp_v1.4.0_macos-14-AppleSilicon.zip) (ARM) +- [Linux](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.4.0/EasyReflectometryApp_v1.4.0_ubuntu-22.04) (built on Ubuntu-22.04) +- [Linux](https://github.com/EasyScience/EasyReflectometryApp/releases/download/v1.4.0/EasyReflectometryApp_v1.4.0_ubuntu-24.04) (built on Ubuntu-22.04) If the relevant EasyReflectometry installation does not work on your system, then please try installation from source. diff --git a/docs/src/conf.py b/docs/src/conf.py index ab143d8a..d3c9b98d 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -78,9 +78,9 @@ # the built documents. # # The short X.Y version. -version = '1.3.1' +version = '1.4.0' # The full version, including alpha/beta/rc tags. -release = '1.3.1' +release = '1.4.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/src/tutorial.md b/docs/src/tutorial.md index 479266ad..7e2b1682 100644 --- a/docs/src/tutorial.md +++ b/docs/src/tutorial.md @@ -1,6 +1,6 @@ # Getting started This is the tutorial for EasyReflectometryApp and how to use it. -Version: 1.3.1 +Version: 1.4.0 ## Home page When opening up the EasyRecletometryApp you are presented with the **Home** page. diff --git a/pyproject.toml b/pyproject.toml index 07db221d..47eb19f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = 'hatchling.build' [project] name = 'EasyReflectometryApp' -version = '1.3.1' +version = '1.4.0' description = "Making reflectometry data analysis and modelling easy." authors = [ {name = "Andrew R. McCluskey"},