-
Notifications
You must be signed in to change notification settings - Fork 5
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
API evolution and performance improvements #74
Conversation
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
Simulator was changed to use logging, so we can configure when we actually want it to spew info on us. Also include `libertem_dectris` logging environment variable setup.
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #74 +/- ##
===========================================
+ Coverage 25.15% 77.13% +51.97%
===========================================
Files 23 31 +8
Lines 2457 2943 +486
Branches 321 410 +89
===========================================
+ Hits 618 2270 +1652
+ Misses 1836 544 -1292
- Partials 3 129 +126
... and 3 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
@uellue @matbryan52 this PR is now ready from my side. I realize it is once again more of a feature branch than a single isolated change, but such is the nature if the whole API is revamped... This should now be more or less stable, and the API changes are done as discussed. I did not yet put more work into getting the merlin part back into feature parity with the DECTRIS part. This is basically #75, and can be done once this is merged, or even after the release. We should probably reserve some time at the HF5000 for this, to check real system behavior. I'll work next to get the ASI TPX3 stuff into PR form, so we can include it at least as experimental support. |
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
Great! I've been using the branch for the UI work in the last week, so far good but I still need to integrate the passive / |
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.
Very nice! Thanks a lot for all this. A number of small comments and suggestions in separate comments. 😄
Co-authored-by: Dieter Weber <[email protected]>
Co-authored-by: Dieter Weber <[email protected]>
/azp run libertem.libertem-live-data |
Azure Pipelines successfully started running 1 pipeline(s). |
LGTM, great! 👍 |
Update DECTRIS acquisition to pass data via shared memory to workers; this circumvents costly serialization for moving data between processes and makes it feasible to perform live reconstruction on less powerful systems (i.e. more processing power left over for actual processing versus overheads)
Also updates the APIs of
LiveContext
; adds a "passive mode", i.e. waiting for an external party to arm/trigger the detector.Requires latest
libertem_dectris
release (0.2.4+).TODO
make_connection
and themake_acquisition
methods require customization per-detector type - this is sub-optimal, as you would need to have two "adapters" that feed the connection and the acquisition builder.sig_shape
currently - instead, we canGET
theIMAGEX
,IMAGEY
parameters if we integrate a bit closer with the control part of the interface, in theinitialize
method.DetectorConnection.wait_for_acquisition
Contributor Checklist:
Reviewer Checklist:
/azp run libertem.libertem-live-data
passed