Skip to content

plots get updated now #458 - #380

Merged
rozyczko merged 2 commits into
fixes-before-1.6from
intermediate-plots
Nov 20, 2026
Merged

rozyczko merged 2 commits into
fixes-before-1.6from
intermediate-plots

Conversation

@rozyczko

Copy link
Copy Markdown
Member

Live fit preview and fitting workflow improvements:

  • Added live fit preview: The Analysis page now redraws reflectivity, residual, and SLD curves with the best values found so far during fitting, at a configurable interval (fitPreviewInterval). This is implemented via new signals (fitPreviewReady, fitPreviewChanged) and parameter update logic in both Python and QML backends.
  • Configurable preview interval: Users can set the preview interval (in seconds) for live updates, with the option to disable it or revert to the default. This is exposed via new properties and slots (fitPreviewInterval, setFitPreviewInterval, resetFitPreviewInterval).
  • Improved fit cancellation: Cancelling a fit no longer discards progress. Instead, the user is prompted to keep the current (best found) values or revert to the starting values, with appropriate updates to parameter errors and fit records. This workflow is managed through new properties, slots, and logic for pending cancellations (fitCancelPending, fitCancelledAt, keepCancelledFit, revertCancelledFit).

Backend logic and API changes:

  • Refactored fitting logic: Removed obsolete preview properties, added logic to snapshot and restore parameter values, clear errors, and manage cancelled fits. The backend now tracks starting values and the state of cancelled fits to support the new workflow.
  • Status bar and project loading: The status bar no longer displays the previous project's reduced χ² after loading or resetting a project.

@rozyczko rozyczko added [scope] enhancement Adds/improves features (major.MINOR.patch) [priority] high Should be prioritized soon labels Nov 19, 2026
@rozyczko
rozyczko merged commit 9d530c5 into fixes-before-1.6 Nov 20, 2026
28 of 29 checks passed
@rozyczko
rozyczko deleted the intermediate-plots branch November 20, 2026 08:04
rozyczko added a commit that referenced this pull request Nov 20, 2026
* another round of fixes from gui testing

* polarized analysis parameters should only be shown for polarized sample

* update experiment on-hover coordinate tooltips

* windows signing is on

* fixed yaml path

* update for macos-15

* Added linear Y scale for profiles. Beautified the Y axis legend #378

* Default limits can now be changed with user notification. #374

* Progress bar 1.6 (#379)

* progress bar - initial stuff

* make the progress bar functionality independent on core's improved
cancellation branch

* Added cancel button to New Project creation widget #371

* update documentation

* fixed the error plot colors in experiment profile chart. #460

* SLD display now follows plot selection #462

* Exp tab legend symbols now correspond to what's shown #457

* same fix for analysis profile chart

* added Z-range controls to Sample and Analysis tabs #456

* plots get updated now #458 (#380)

* plots get updated now #458

* PR review fixes

* Address parameter display bug #365

* improved tooltips for dependent parameters #366

* cleaned up dead code

* fixes for model changes in analysis tab
rozyczko added a commit that referenced this pull request Nov 20, 2026
* changes required for core 3.0 to work

* PR review fixes applied

* a useful run.py script added to start the app

* added Active parameters filter item

* added materials rename slot

* Update SLD charts on materials SLD update

* fixed log/q^4 display in analysis

* improvements to the project creation logic

* on demand/on action/on timer project save

* move the Autosave control to Advanced tab

* Fixes before 1.6 (#381)

* another round of fixes from gui testing

* polarized analysis parameters should only be shown for polarized sample

* update experiment on-hover coordinate tooltips

* windows signing is on

* fixed yaml path

* update for macos-15

* Added linear Y scale for profiles. Beautified the Y axis legend #378

* Default limits can now be changed with user notification. #374

* Progress bar 1.6 (#379)

* progress bar - initial stuff

* make the progress bar functionality independent on core's improved
cancellation branch

* Added cancel button to New Project creation widget #371

* update documentation

* fixed the error plot colors in experiment profile chart. #460

* SLD display now follows plot selection #462

* Exp tab legend symbols now correspond to what's shown #457

* same fix for analysis profile chart

* added Z-range controls to Sample and Analysis tabs #456

* plots get updated now #458 (#380)

* plots get updated now #458

* PR review fixes

* Address parameter display bug #365

* improved tooltips for dependent parameters #366

* cleaned up dead code

* fixes for model changes in analysis tab
rozyczko added a commit that referenced this pull request Nov 21, 2026
* fixed sample reordering for super/subphase #329 (#360)

* added uninstall action to the installer. Modified the docs. (#359)

* added uninstall action to the installer. Modified the docs.

* updated script

* updated script

* attempt to add some timeout for uninstallation

* cleaned up duplications and removed dead code (#361)

* second round of source cleanup (#362)

* improved constraints between models (#363)

* improved constraints between models

* PR review issues addressed

* updated CHANGELOG

* fixed from #311, issue 2.1 (#364)

* fixed from #311, issue 2.1

* more PR review fixes

* switch refl library to develop

* changes required for core 3.0 to work (#367)

* changes required for core 3.0 to work

* PR review fixes applied

* a useful run.py script added to start the app

* added Active parameters filter item

* added materials rename slot

* Update SLD charts on materials SLD update

* fixed log/q^4 display in analysis

* improvements to the project creation logic

* on demand/on action/on timer project save

* move the Autosave control to Advanced tab

* Fixes before 1.6 (#381)

* another round of fixes from gui testing

* polarized analysis parameters should only be shown for polarized sample

* update experiment on-hover coordinate tooltips

* windows signing is on

* fixed yaml path

* update for macos-15

* Added linear Y scale for profiles. Beautified the Y axis legend #378

* Default limits can now be changed with user notification. #374

* Progress bar 1.6 (#379)

* progress bar - initial stuff

* make the progress bar functionality independent on core's improved
cancellation branch

* Added cancel button to New Project creation widget #371

* update documentation

* fixed the error plot colors in experiment profile chart. #460

* SLD display now follows plot selection #462

* Exp tab legend symbols now correspond to what's shown #457

* same fix for analysis profile chart

* added Z-range controls to Sample and Analysis tabs #456

* plots get updated now #458 (#380)

* plots get updated now #458

* PR review fixes

* Address parameter display bug #365

* improved tooltips for dependent parameters #366

* cleaned up dead code

* fixes for model changes in analysis tab

* updated version to 1.6.0

* update the date
@rozyczko rozyczko mentioned this pull request Nov 21, 2026
rozyczko added a commit that referenced this pull request Nov 21, 2026
* fixed sample reordering for super/subphase #329 (#360)

* added uninstall action to the installer. Modified the docs. (#359)

* added uninstall action to the installer. Modified the docs.

* updated script

* updated script

* attempt to add some timeout for uninstallation

* cleaned up duplications and removed dead code (#361)

* second round of source cleanup (#362)

* improved constraints between models (#363)

* improved constraints between models

* PR review issues addressed

* updated CHANGELOG

* fixed from #311, issue 2.1 (#364)

* fixed from #311, issue 2.1

* more PR review fixes

* switch refl library to develop

* changes required for core 3.0 to work (#367)

* changes required for core 3.0 to work

* PR review fixes applied

* a useful run.py script added to start the app

* added Active parameters filter item

* added materials rename slot

* Update SLD charts on materials SLD update

* fixed log/q^4 display in analysis

* improvements to the project creation logic

* on demand/on action/on timer project save

* move the Autosave control to Advanced tab

* Fixes before 1.6 (#381)

* another round of fixes from gui testing

* polarized analysis parameters should only be shown for polarized sample

* update experiment on-hover coordinate tooltips

* windows signing is on

* fixed yaml path

* update for macos-15

* Added linear Y scale for profiles. Beautified the Y axis legend #378

* Default limits can now be changed with user notification. #374

* Progress bar 1.6 (#379)

* progress bar - initial stuff

* make the progress bar functionality independent on core's improved
cancellation branch

* Added cancel button to New Project creation widget #371

* update documentation

* fixed the error plot colors in experiment profile chart. #460

* SLD display now follows plot selection #462

* Exp tab legend symbols now correspond to what's shown #457

* same fix for analysis profile chart

* added Z-range controls to Sample and Analysis tabs #456

* plots get updated now #458 (#380)

* plots get updated now #458

* PR review fixes

* Address parameter display bug #365

* improved tooltips for dependent parameters #366

* cleaned up dead code

* fixes for model changes in analysis tab

* updated version to 1.6.0

* update the date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] high Should be prioritized soon [scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant