Skip to content

feat: allow plotting intermediate results#30

Merged
sbillinge merged 2 commits intoPDF-bl:mainfrom
ycexiao:intermediate-result
Feb 6, 2026
Merged

feat: allow plotting intermediate results#30
sbillinge merged 2 commits intoPDF-bl:mainfrom
ycexiao:intermediate-result

Conversation

@ycexiao
Copy link
Contributor

@ycexiao ycexiao commented Feb 5, 2026

What problem does this PR address?

Closes #27.

Also plot results during least_square refinements.

What should the reviewer(s) do?

Please check the modifications.

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Contributor Author

@ycexiao ycexiao left a comment

Choose a reason for hiding this comment

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

@sbillinge, it's ready for review.

self.input_files_running = []
self.adapter = PDFAdapter()
self.data_for_plot = {}
self.visualization_data = {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

rename data_for_plot to visualization_data

"reduced_chi2",
]
for entry_name in self.inputs.get("plot_result_entry_names", []):
for entry_name in self.inputs.get("plot_result_names", []):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

rename plot_result_entry_names to plot_result_names

@ycexiao ycexiao marked this pull request as ready for review February 5, 2026 20:38
@sbillinge sbillinge merged commit 2eec85b into PDF-bl:main Feb 6, 2026
6 checks passed
@ycexiao ycexiao deleted the intermediate-result branch February 18, 2026 16:38
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.

feat: plot intermediate residuals during the refinement.

2 participants