[us-commits] [ehb54/ultrascan3] c3a78b: SAXS extrap-to-c0 regplot: real window, smooth whe...

emre brookes noreply at github.com
Sat Jul 11 15:30:00 MDT 2026


  Branch: refs/heads/ehb54-issue-920
  Home:   https://github.com/ehb54/ultrascan3
  Commit: c3a78b7e54531506109f8f9d5d786ff16aa50852
      https://github.com/ehb54/ultrascan3/commit/c3a78b7e54531506109f8f9d5d786ff16aa50852
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-07-11 (Sat, 11 Jul 2026)

  Changed paths:
    M us_somo/develop/include/us_hydrodyn_saxs_iqq_extrap_c0_regplot.h
    M us_somo/develop/src/us_hydrodyn_saxs_iqq_extrap_c0.cpp
    M us_somo/develop/src/us_hydrodyn_saxs_iqq_extrap_c0_regplot.cpp
    M us_somo/somo/doc/manual/somo/somo_saxs_extrap_c0.html

  Log Message:
  -----------
  SAXS extrap-to-c0 regplot: real window, smooth wheel, merge-aware labels

Fixes reported in first testing of the per-q regression pop-up:

- It rendered inside the SAS window instead of as its own window. It is a
  QFrame parented to the SAS window, which without a window flag is an
  embedded child. Set Qt::Window so it is a proper top-level window.

- The wheel snapped one step at a time (useless for scrolling) because the
  wheel-driven handler called set_index(), which reset the wheel value back
  to the integer index. Now dragging the wheel updates the plot to the
  nearest q WITHOUT snapping, so it scrolls smoothly; only Prev/Next snap
  the wheel and step by one q. Wheel given continuous fine steps, inertia
  (setMass(1.0)) so a flick keeps scrolling, and a minimum width.

- Primus mode is a weighted merge (slope 0), so "intercept at c=0" no longer
  fits. Added a merge_mode flag: the pop-up now labels the result "merged
  value", drops the c=0 vertical reference line, and drops the slope readout
  in Primus; Zimm is unchanged. Manual updated.

Co-Authored-By: Claude Fable 5 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications


More information about the us-commits mailing list