Skip to content

Conversation

@cadenmyers13
Copy link
Contributor

@cadenmyers13 cadenmyers13 commented Jul 30, 2025

See ss for what I added. I added the tables explaining the parameters that are refined when PDF fitting. Please double check these to make sure my descriptions are good and that everything is correct. I don't think I missed any params but let me know if i did. Knowing what these parameters are and mean is super important to PDF fitting and I think its where most newbies should begin. It would be great if we could reuse these table elsewhere, refine them (no pun intended), and/or point people to them as a source.

The code for this tutorial was from the pdfttp_data repo, I modified a few things and changed some comments to hopefully make things easier to digest. I also ran this code and there are no bugs as it produced the fit shown in the last ss.

Screenshot 2025-07-30 at 4 19 15 PM Screenshot 2025-07-31 at 10 07 58 AM Screenshot 2025-07-30 at 4 19 39 PM Screenshot 2025-07-30 at 4 19 53 PM Screenshot 2025-07-30 at 4 20 06 PM Screenshot 2025-07-30 at 4 20 16 PM

:widths: 2 6 2 2
:header-rows: 1
:class: wrap-text

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please check this table

:widths: 2 6 2 2
:header-rows: 1
:class: wrap-text

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And also check this one too!

@codecov
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.67%. Comparing base (b3a799c) to head (169dfc5).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   75.67%   75.67%           
=======================================
  Files           3        3           
  Lines          37       37           
=======================================
  Hits           28       28           
  Misses          9        9           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cadenmyers13
Copy link
Contributor Author

@sbillinge ready for review

@sbillinge sbillinge merged commit d70d879 into diffpy:main Aug 4, 2025
5 checks passed
@sbillinge
Copy link
Contributor

This looks fantastic! Spot on.

I caught a couple of little typos but honestly I htink it is easier to merge and do any cleaning on a new PR.

@cadenmyers13 cadenmyers13 deleted the tutorial1 branch August 5, 2025 13:33
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