Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

`filewriter`: Neutron histogram data (`raw_data_1/detector_1`)

Aberta
#84 3 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa

Direção de pesquisa

A issue não nomeia arquivos nem testes; comece localizando o filewriter existente do modo de eventos e o tratamento de NeXuS para raw_data_1/detector_1. Esclareça as combinações de histogramas/eventos compatíveis e as expectativas para histogramas transmitidos e, em seguida, verifique se a abordagem selecionada produz a saída .nxs necessária no modo de histogramas.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

filewriter

The file-writing infrastructure must be able to write out histogram-mode data (.nxs files without an NXevent_data group).

This refers to the NeXuS groups under raw_data_1/detector_1.

The issue is intentionally phrased as

file-writing infrastructure

because this does not necessarily have to be done in the same process as the event-mode filewriter (though having it in the filewriter would be more performant and potentially more flexible in future).

Questions

  • Support streamed histograms (hs00) at some point in future? i.e. a scheme where a monitor emits a histogram every N frames, where N could be 1 in the extreme case. This then lets a run be sliced a bit like event mode, but only on N-frame boundaries.
    • This might be needed for SANDALS2 if monitor event-rates are too high for pure-event mode.
    • Need to define how we would write this kind of data to .nxs.

Approaches

  • This could be an option in the filewriter process itself (preferred). It would then need various options to cope with:
    • event files only
    • combined histogram+event files
    • separate histogram and event files
  • This could be implemented as a separate process which reads in an event-mode .nxs file and outputs a histogram-mode .nxs file.
    • But that then makes it harder to support all combinations of files we may need to generate, e.g. event-only, histogram-only, event+histogram in the same file, event-detectors with histogram-monitors, etc.
    • This may also have a performance disadvantage as all of the events need to be written by one process, then read back in to another process before histograms can be generated. For large files this file-loading cost may be significant, especially for beamlines that ultimately only care about the histogram files.

Potential differences from existing files

None known at this time.

Linguagem predominante
Sem dados de linguagem
Estrelas
0
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ISISComputingGroup/DataStreaming

Todas as issues de ISISComputingGroup/DataStreaming

Issues semelhantes

Mais issues de Backend & API Design

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.