Skip to content
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

dials.export_bitmaps: optionally overlay ice rings #2393

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

rjgildea
Copy link
Contributor

@rjgildea rjgildea commented Apr 19, 2023

E.g. generate the following fetching image with:

$ dials.export_bitmaps $(dials.data get -q x4wide)/*0001.cbf binning=2 brightness=10 ice_rings.show=True ice_rings.fill="#33FFAC" resolution_rings.show=True resolution_rings.fill="#FF33F0"

image

or with a non-planar detector:

$ dials.export_bitmaps $(dials.data get -q image_examples)/DLS_I23_P12M_thau_00001.cbf.gz binning=4 brightness=10 ice_rings.show=True ice_rings.fill="#33FFAC" resolution_rings.show=True resolution_rings.fill="#FF33F0"

image

@rjgildea rjgildea requested a review from dagewa April 19, 2023 13:59
Copy link
Member

@dagewa dagewa left a comment

Choose a reason for hiding this comment

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

Looks like a useful extension 👍

@rjgildea rjgildea enabled auto-merge (squash) April 19, 2023 15:25
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #2393 (b2ff6d4) into main (58864f6) will increase coverage by 0.06%.
The diff coverage is 100.00%.

❗ Current head b2ff6d4 differs from pull request most recent head b319537. Consider uploading reports for the commit b319537 to get more accurate results

@@            Coverage Diff             @@
##             main    #2393      +/-   ##
==========================================
+ Coverage   78.55%   78.61%   +0.06%     
==========================================
  Files         603      603              
  Lines       73627    73638      +11     
  Branches    10002    10005       +3     
==========================================
+ Hits        57835    57888      +53     
+ Misses      13660    13617      -43     
- Partials     2132     2133       +1     

@rjgildea rjgildea merged commit 641fcbb into main Apr 19, 2023
16 checks passed
@rjgildea rjgildea deleted the export-bitmaps-ice-rings branch April 19, 2023 17:49
toastisme pushed a commit to toastisme/dials that referenced this pull request May 3, 2023
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.

None yet

3 participants