[ESSSPECTROSCOPY] Rewrite the BIFROST Bragg peak monitor guide on a run file with a real monitor
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- jupyter-notebook, python
- Área
- documentation
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 3
- Forks
- 6
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 35
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scipp/ess
-
essreduce
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotationAbiertoessspectroscopy
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
scipp/ess#935 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
essspectroscopy
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
scipp/ess#932 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
essspectroscopy
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[essreduce] A chopper with no `beam_position` is silently placed at 0°Posiblemente ocupada @TTsangSC la tomó hace 2 días. Abiertoessreduce
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
scipp/ess#923 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Issues similares
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertogood first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
polish
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPosiblemente ocupada @AshutoshSingh840 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
UKGovernmentBEIS/control-arena#992 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Los mantenedores suelen responder en 1 día