Skip to content

Issue 133#134

Merged
augustocattafesta merged 8 commits into
mainfrom
issue_133
May 14, 2026
Merged

Issue 133#134
augustocattafesta merged 8 commits into
mainfrom
issue_133

Conversation

@augustocattafesta

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pixel equalization calibration workflow (Issue 133) by adding support for multiple equalization algorithms and adjusting the CLI/pipeline to accommodate an optional spectrum PDF, plus a small enhancement to calibration matrix validation plots.

Changes:

  • Add "relative" vs "absolute" equalization algorithms and make the SpectrumPDF optional unless needed.
  • Implement the new relative equalization path in CalibrateEqualization using running per-pixel statistics.
  • Update CLI/pipeline wiring for the new options and improve calibview correlation plotting by fitting a slope.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

File Description
src/hexsample/tasks.py Adds equalization defaults/options, dispatches algorithm, updates calibview correlation plot to use a fitted line model.
src/hexsample/pipeline.py Passes the new algorithm and pdf parameters into the tasks layer.
src/hexsample/cli.py Adds --algorithm and makes --pdf optional for equalization calibration.
src/hexsample/calibration.py Extends CalibrateEqualization with algorithm selection and adds the relative equalization implementation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/hexsample/pipeline.py
Comment thread src/hexsample/cli.py
Comment thread src/hexsample/calibration.py Outdated
Comment thread src/hexsample/calibration.py
Comment thread src/hexsample/tasks.py
Comment thread src/hexsample/tasks.py Outdated
@augustocattafesta augustocattafesta merged commit bb1530b into main May 14, 2026
2 checks passed
@augustocattafesta augustocattafesta deleted the issue_133 branch May 14, 2026 13:14
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.

2 participants