-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Integration of Live WDD #72
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #72 +/- ##
==========================================
+ Coverage 77.18% 85.08% +7.89%
==========================================
Files 8 12 +4
Lines 548 865 +317
Branches 84 130 +46
==========================================
+ Hits 423 736 +313
- Misses 110 112 +2
- Partials 15 17 +2 ☔ View full report in Codecov by Sentry. |
@bangunarya let me know if you need help with getting the tests green - I have an idea how to fix the issues. |
Hi @sk1p, sure I will contact you on telegram |
/azp run Ptychography-4-0.ptychography |
Azure Pipelines successfully started running 1 pipeline(s). |
CI failure seems to come from ancient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is coming along nicely! It should even be possible to reach ~100% coverage for all added files. Mostly, the lines currently not covered are handling the different complex dtypes, and it would indeed be nice to ensure that in the future, it's still possible to pass in complex64
.
The tests are now using complex128
because of precision issues, so there should be additional tests using the reduced precision (and one exercising the "invalid value" branch, making sure the correct error is raised). Because of the precision issue, allclose
should have custom tolerances passed for these new tests.
There's also a branch for default transformation
- that should also have a test case, making sure the code doesn't crash in case of not specifying the transformation
.
Thank you for the patience with all these CI issues!
Extracted from #72 many thanks to @bangunarya for his contributions! Co-authored-by: Arya Bangun <bangun@...>
Extracted from #72 many thanks to @bangunarya for his contributions! Co-authored-by: Arya Bangun <bangun@...>
Thank you for the update of the infrastructure. Yes, I am thinking of adding more test, including some transformations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uellue I've added some comments on your changes, hope they are helpful!
This comment was marked as outdated.
This comment was marked as outdated.
- Rotation - different dtypes - Fix linting
Reconstruct individual overlapping patches and merge the results in the end. This should scale O(N) unless live plotting is enabled.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Add patches one by one instead of optimizing the whole set in `get_results()`. This required some additional changes and tests for the stitching function. Add the missing wdd.rst Disable Numba for the larger test run. test_wdd_no_rot should cover the code for Numba, I think.
Contributor Checklist:
Current implementation
Integration of Live WDD algorithm to Ptychography40 repository.
The original code is given here : https://github.com/Ptychography-4-0/LiveWDD
List of the contribution.
To Do List
CoMUDF
APIs) - @uellue @sk1p