[esssans] Better interface for defining wavelength bins and bands
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start by reading the existing WavelengthBins and WavelengthBands definitions and the sc.linspace usage described in the issue. The issue presents several competing interface ideas but does not identify files or tests; clarify the intended design with maintainers before starting. Done means an agreed interface for defining wavelength bins and bands, with behavior that matches that decision.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Currently, we were defining the bands as a 1d variable with N+1 edges, where N is the number of bands that we want to have: sc.linspace("wavelength", 1.0, 13.0, 11, unit="angstrom").
It's a bit of a weird interface as the dimension name is wavelength, but it results in data that has a dimension band of size N.
Claude suggested that WavelengthBands should just be tuples of indices that index into the WavelengthBins. I'm not sure I like that so much...
I myself thought that maybe if we wish to have bands, we could give WavelengthBins as a DataGroup instead that contains bands. Then we combine all the entries in the group to construct a single set of wavelength bins. The bands would be each entry in the group.
But as you say, this could be a follow-up.
Originally posted by @nvaytet in https://github.com/scipp/ess/pull/726#discussion_r4183870136
- 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