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

`filewriter`: `runlog/icp_event`

Aberta
#92 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
42/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade

Direção de pesquisa

Comece rastreando como o filewriter consome o fluxo de dados de eventos subjacente e como atualmente grava os grupos de runlog. Compare os comandos newStyle propostos com o comportamento de parsing declarado pelo Mantid e, em seguida, verifique se START_COLLECTION, STOP_COLLECTION, CHANGE e CHANGE_PERIOD refletem transições boas/ruins de frame e de período; resolva se ABORT deve ser incluído antes de considerar o trabalho concluído.

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

Descrição

filewriter

The filewriter must be able to write the runlog/icp_event group, as parts of this are currently parsed by Mantid.

From discussions, my current understanding is that Mantid:

  • Does read CHANGE_PERIOD and CHANGE events. We will emulate these by looking at the event data stream and emitting a fake CHANGE_PERIOD message each time we see incoming data with a different period number.
  • Does read START_COLLECTION, STOP_COLLECTION, ABORT messages.
  • Can read BEGIN, RESUME, END_SE_WAIT, PAUSE, END, ABORT, UPDATE, START_SE_WAIT messages, but only if oldStyle is being used.
  • Does not parse the numbers from GF x RF x GUAH x messages.

Potential differences from existing files

  • Proposal is to only write the newStyle commands, so START_COLLECTION, STOP_COLLECTION, CHANGE, CHANGE_PERIOD, ABORT.
  • All data will be emulated (derived from the underlying event data):
    • START_COLLECTION written at the beginning, and then on any transition from a bad frame to a good frame.
    • STOP_COLLECTION written on any transition from a good frame to a bad frame, and then at the end.
    • ABORT - not convinced this is meaningful, if the run is aborted then won't get a .nxs file at all...
    • CHANGE_PERIOD will be written any time we get a frame which has a different period than the most-recently-seen frame
  • CHANGE_PERIOD will account for hardware periods as well as software periods (they look the same to the filewriter in the streaming system). This means that there could be a much higher frequency of CHANGE_PERIOD events than previously.
  • START_COLLECTION and STOP_COLLECTION will account for hardware vetos as well as pause/runcontrol (they look the same to the filewriter in the streaming system). This means that there could be a much higher frequency of START_COLLECTION and STOP_COLLECTION events than previously.
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 Data Engineering

Receba novas issues na sua caixa de entrada

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