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

FormatSMVTimePix_SU mask out central cross of virtual pixels #683

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

dagewa
Copy link
Member

@dagewa dagewa commented Jan 23, 2024

One version of this format has a 516×516 pixel data array, where the central 6-pixel wide cross has been reconstructed from raw pixels that are three times wider than a normal pixel. Absent truthful handling for such a case (dials/dials#2585), we simply mask these pixels. This means handling is consistent with the 512×512 pixel version, where the detector is split into quadrant panels, which exclude the wider pixels.

dagewa and others added 3 commits January 23, 2024 14:19
got reasonable intensity values, they do not correctly represent
the reflection profiles. This also means handling between the 4-
panel 512*512 pixel model (which excludes the edge pixels between
the panels) and the 516*516 pixel model are now consistent. Both
versions now exclude these special edge pixels.
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (dbd7ede) 42.62% compared to head (daf65ea) 42.57%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #683      +/-   ##
==========================================
- Coverage   42.62%   42.57%   -0.06%     
==========================================
  Files         182      182              
  Lines       15924    15950      +26     
  Branches     3056     3059       +3     
==========================================
+ Hits         6788     6791       +3     
- Misses       8510     8532      +22     
- Partials      626      627       +1     

@dagewa dagewa merged commit 3e5ac9b into cctbx:main Jan 26, 2024
13 checks passed
graeme-winter pushed a commit that referenced this pull request Feb 5, 2024
* Always mask out the central cross of pixels, as even if these have
got reasonable intensity values, they do not correctly represent
the reflection profiles. This also means handling between the 4-
panel 512*512 pixel model (which excludes the edge pixels between
the panels) and the 516*516 pixel model are now consistent. Both
versions now exclude these special edge pixels.
toastisme pushed a commit to toastisme/dxtbx that referenced this pull request Jul 18, 2024
…#683)

* Always mask out the central cross of pixels, as even if these have
got reasonable intensity values, they do not correctly represent
the reflection profiles. This also means handling between the 4-
panel 512*512 pixel model (which excludes the edge pixels between
the panels) and the 516*516 pixel model are now consistent. Both
versions now exclude these special edge pixels.
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