[us-commits] [ehb54/ultrascan3] 1e0ed9: Add "SD rescale" button to HPLC/KIN s.d.util mode

emre brookes noreply at github.com
Mon Jul 13 12:21:52 MDT 2026


  Branch: refs/heads/ehb54-issue-966
  Home:   https://github.com/ehb54/ultrascan3
  Commit: 1e0ed9e1faa70de51dffaff5c11c397b7fa02903
      https://github.com/ehb54/ultrascan3/commit/1e0ed9e1faa70de51dffaff5c11c397b7fa02903
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M us_somo/develop/include/us_hydrodyn_saxs_hplc.h
    M us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp
    M us_somo/develop/src/us_hydrodyn_saxs_hplc_modes.cpp

  Log Message:
  -----------
  Add "SD rescale" button to HPLC/KIN s.d.util mode

Third button in the s.d.util row (alongside "SD eval."/"SD apply") that runs
US_Saxs_Util::recompute_errors on the selected curves. Prompts for the mode
(constant / non-constant / intensity-dependent) via US_Static::getItem (avoids
the OSX QInputDialog-in-slot bug), rescales each curve's SD in place, and logs
the verdict/chi2r/p per curve.

Undo: one full-restore crop_undo_data record per invocation, so the existing
"Crop undo" restores the original SDs. Enabled only for selected q-space curves
that already carry usable errors (all_selected_have_errors: count + matching
size + is_nonzero_vector). Curves lacking usable SDs are skipped with a message.

Implements ehb54/ultrascan-tickets#966

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