[ESSSPECTROSCOPY] Rewrite the BIFROST Bragg peak monitor guide on a run file with a real monitor
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- jupyter-notebook, python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Read docs/user-guide/bifrost/bifrost-bragg-peak-monitor.ipynb with BifrostBraggPeakMonitorWorkflow and the simulation workflow it currently uses. Run ess.bifrost.data.coda_test_run_2026_11() through BifrostBraggPeakMonitorWorkflow and the #909 tests, checking that make_q_map yields a readable IntensityQparQperp map. Done: the guide uses the real elastic_monitor and depends_on chain, the stand-in, DetectorLtotal override and simulation workflow are removed, and the guide is deleted if the map is unreadable.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The BIFROST Bragg peak monitor user guide (docs/user-guide/bifrost/bifrost-bragg-peak-monitor.ipynb) runs BifrostSimulationBraggPeakMonitorWorkflow on the McStas file simulated_elastic_incoherent_with_phonon, which has no Bragg peak monitor. It fakes one: assemble_detector_data_flatten merges the 300 pixels of detector bank channel_9_5_triplet into one pixel and places it at half the bank's mean position, with y set to 0. So the flight path, Q and the map do not correspond to any real instrument, and, as the guide says, no Bragg peaks are visible.
This has costs beyond the guide:
- It documents the simulation variant, not
BifrostBraggPeakMonitorWorkflow, which is what users run on run files. - It is the only user of
BifrostSimulationBraggPeakMonitorWorkflowand ofsingle_crystal.detector.simulation_providers. - The stand-in position exists only after assembly, not in
EmptyDetector. #909 (computingDetectorLtotalfrom geometry for #908) therefore needs a temporary localDetectorLtotaloverride in the guide, computed from the assembled data.
Proposal
Rewrite the guide on ess.bifrost.data.coda_test_run_2026_11() with BifrostBraggPeakMonitorWorkflow. That file has a real elastic_monitor with events and its real depends_on chain on the detector tank, so nothing needs faking. The tests added in #909 reduce its 945,966 monitor events to an IntensityQparQperp map. The events are synthetic, so the guide still shows no physics, and it should say so, but it documents exactly what users run, together with make_q_map.
Then:
- Remove the stand-in, the
DetectorLtotaloverride from #909 and theload_sample_angleinsert from the guide. - Remove
BifrostSimulationBraggPeakMonitorWorkflowand the simulation providers it alone uses.
If the CODA events do not give a readable map, delete the guide instead, together with the simulation workflow.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- Python
- Star
- 3
- Fork
- 6
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 35
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scipp/ess
-
essreduce
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotationĐang mởessspectroscopy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
essspectroscopy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
essspectroscopy
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[essreduce] A chopper with no `beam_position` is silently placed at 0°Có thể đã có người làm @TTsangSC đã nhận 2 ngày trước. Đang mởessreduce
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
scipp/ess#923 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Test: to_hijri() accepts datetime.datetime and uses only the date partCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgood first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresCó thể đã có người làm @AshutoshSingh840 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainer thường phản hồi trong vòng 1 ngày