Skip to content

feat: ice-ring and resolution-ring positions (UC-1.4) #10

Backlog

Description

@Akadib

Problem

As a labeler, I want ice rings drawn where they really fall for this run, so I can tell ice from protein spots.

Proposed solution

  • ICE_RINGS_A = (3.897, 3.669, 3.441, 2.671, 2.249, 2.072, 1.948, 1.918, 1.883, 1.721).
  • radius_px(d_A, geometry): 2θ = 2·asin(λ / 2d), r = distance·tan(2θ) / pixel size. Returns nan when λ / 2d > 1.
  • d_spacing_map(geometry, binning=1): d-spacing of every pixel, flat detector, no tilt.
  • Check: for A07 geometry, the 3.669 Å ring is about 889 px from the beam centre.

Done when

  • Unit tests with hand-computed values
  • News file added

Activity

  1. added theissue type on Dec 1, 2026
  2. added
    enhancement
    good first issue
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions