Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add support for non-uniform focal point hit counts

Đang mở
#449 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@samueljwu đang làm issue này rồi.

Từ ngày 1/5/2026.

  • #450 của @samueljwu — đã đóng, không merge
  • #452 của @samueljwu — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách đọc Solution, Protocol.calc_solution, SolutionAnalysis.per_focus_tic và cách xử lý param_constraints hiện có. Theo dõi cách các xung hiện được gán cho các tiêu điểm và cách ISPTA và TIC được tổng hợp. Hoàn thành cần bao gồm các phân bổ focal-hit tường minh và được tối ưu hóa, tối ưu hóa có xét đến các ràng buộc, báo cáo TIC theo từng tiêu điểm và các phép tính cường độ có trọng số.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Currently, pulses in a sonication sequence are distributed equally across all focal points in a round robin pattern. In multifocus treatments, focal points can receive different effective acoustic energy per pulse, so equal pulse distribution can leave some foci undertreated relative to ther others. Allowing more pulses to be allocated to weaker foci could raise the min ISPTA across focal points and improve treatment uniformity.

Main proposed changes:

  • Solution.focal_hit_counts: add a new field storing the number of pulses directed to each focal point
  • Protocol.calc_solution: add new focal_hit_counts and optimize parameters. focal_hit_counts accepts an explicit allocation. optimize=True computes an optimized allocation automatically
  • optimize_hit_counts(): add a helper that maximizes the min ISPTA across focal points, subject to TIC limits from param_constraints
  • SolutionAnalysis.per_focus_tic: add a new field exposing per-focus TIC values
  • weighted intensity aggregation in calc_solution and Solution.get_ispta

Please let me know if this sounds reasonable and if you'd be open to a PR. I'd love to contribute. Thanks!

Ngôn ngữ chính
Python
Star
29
Fork
20
Merge trung bình
4 giờ 31 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenwaterHealth/openlifu-python

Tất cả issue của OpenwaterHealth/openlifu-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.