[ESSSANS] Masking (Loki, partially Skadi)
Los mantenedores suelen responder en 1 día
@nvaytet ya está trabajando en esto.
Desde el 8/10/2026.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
The issue names no files, tests, or entry points, so first map where Loki and Skadi masking and SciCat persistence are handled. Done would require agreed designs for static and dynamic masks, coverage of beam stops, detector screening, broken tubes, and sample-environment limits, plus the requested interactive tooling.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
- We need differents kinds of masks
- Some masks are static and pre-defined by instrument scientists, other are dependent on the sample-environement or instrument setup in general (but also defined by instrument scientist, for the user).
- Static masks need to be available in SciCat outside user proposal
- Dynamic masks will also need to be saved on SciCat, inside the user proposal
Kinds of masks
The following is specific for Loki, some of this would apply also to Skadi:
1. Beam stop
Tracked in #847.
2. Detector screening
Rear (or mid window-frame detectors) are in the "shade" of the front/mid window-frame detectors. Those regions must be masked. Can probably be static after hot-commissioning. Shapes are quite complicated so it is not clear if a simple geometric approximation can be done, or whether it would need to be drawn and defined by hand. Should this be based on a simulation, like the following:
Note:
- This might depend on the sample position (per-experiment)
- The mask on the rear bank would depend on the carriage position, but it looks like the masks for this bank is quite simple (inner edges from mid detectors?) so a geometric definition based on sample and detector positions might be feasible.
3. Broken straws or tubes
- Will be permanent (until tubes fixes, i.e., need mechanism to timestamp and replace mask files)
- A simple tool to do this is needed interactively.
- Simple conditions like "tubes with 0 counts" are not adequate, defects can show up in various ways, e.g., counts lumped together on one end, etc.
Suggestion:
- Use existing LokiBankViewer an extend it.
- Two modes, tube-mode and straw-mode
- Clicking a row (maybe with a special tool to be activated) toggles masking it -- depending on the mode the row corresponds to toggling the masking of a tube or a straw.
- Output should be a tube-mask and a straw-mask. We should assume these are applied after folding of the detectors, i.e., these can be small lower-dimensional masks, not for every pixel.
4. Other
- Some sample envs may not allow for full scattering angle, so we might need to mask everything above, say, 20 deg.
- 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