Skip to content

enh: apply fluorescence crosstalk coefficients to all datasets - #248

Merged
paulmueller merged 2 commits into
DC-analysis:mainfrom
paulmueller-agent:enh/crosstalk-apply-all
Nov 20, 2026
Merged

paulmueller merged 2 commits into
DC-analysis:mainfrom
paulmueller-agent:enh/crosstalk-apply-all

Conversation

@paulmueller-agent

Copy link
Copy Markdown
Contributor

Closes #198

New button Apply crosstalk to all datasets in the Fluorescence crosstalk section of the Dataset tab (Analysis View). It sets the crosstalk coefficients shown for the current dataset for all datasets in the session (e.g. when all datasets were measured with the same setup).

  • Only the six crosstalk coefficients are applied to the datasets; other (not yet applied) changes in the Dataset tab are not. This is stated in the tooltip.
  • The pipeline is notified with {"pipeline": {"feature_changed": "crosstalk"}} (like the Young's modulus bulk action), so the plots and the crosstalk-corrected features are updated.

Docs: the fluorescence crosstalk quick guide mentions the button. qg_fl_crosstalk_matrix.png was regenerated with make_scrots_qg_fl_crosstalk.py. In that script, the fixed size of the group box was increased from 150 to 185 px height, so that the button fits.

Test: new tests/test_gui_ana_slot.py::test_crosstalk_apply_to_all_issue_198 (three datasets; the coefficients are set for all, also in the dataset configuration used for computing fl?_max_ctc; the unapplied name change is not applied).

🤖 Generated with Claude Code

paulmueller and others added 2 commits November 20, 2026 08:13
…alysis#198)

New button "Apply crosstalk to all datasets" in the fluorescence
crosstalk section of the Dataset tab. Only the crosstalk values are
applied to the other datasets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulmueller
paulmueller merged commit d899b59 into DC-analysis:main Nov 20, 2026
2 of 3 checks passed
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.81%. Comparing base (c7192ed) to head (71c27c6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #248      +/-   ##
==========================================
+ Coverage   76.77%   76.81%   +0.03%     
==========================================
  Files          76       76              
  Lines        8514     8524      +10     
==========================================
+ Hits         6537     6548      +11     
+ Misses       1977     1976       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fluorescence Crosstalk Correction: Apply to All button

2 participants