[us-commits] [ehb54/ultrascan3] 0e667b: SAXS extrap-to-c0: guard Primus short-grid, doc/to...
emre brookes
noreply at github.com
Sun Jul 12 02:01:08 MDT 2026
Branch: refs/heads/ehb54-issue-920
Home: https://github.com/ehb54/ultrascan3
Commit: 0e667b5e04a2e1474e7e7def5db2c3f286654902
https://github.com/ehb54/ultrascan3/commit/0e667b5e04a2e1474e7e7def5db2c3f286654902
Author: ehb54 <brookes at uthscsa.edu>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
M us_somo/develop/src/us_hydrodyn_saxs_iqq_extrap_c0.cpp
M us_somo/develop/src/us_hydrodyn_saxs_iqq_extrap_c0_conc.cpp
M us_somo/somo/doc/manual/somo/somo_saxs_extrap_c0.html
Log Message:
-----------
SAXS extrap-to-c0: guard Primus short-grid, doc/tooltip fixes
- Primus mode: the merge-point search used a fixed 50-pt CORMAP window
guarded by "if (npts > 50)", leaving merge_idx = 0 for shorter curves.
That made every output point copy the reference, so Primus silently
returned the input curve with no extrapolation and no warning. Shrink
the window for short grids, and when there are too few points to locate
a merge, extrapolate the whole curve and warn. Curves with >= 51 points
are unaffected.
- Update the Primus-mode checkbox tooltip: it still described the old
"inverse-variance weighted merge"; it now matches the actual hybrid
(scale to reference, extrapolate low q, copy reference above the merge).
- Manual: add the Petoukhov et al. 2012 almerge reference, cited in the
body and code comments but missing from the References list.
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