Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#84 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv

Rechercherichtung

Das Issue nennt keine Dateien oder Tests; beginne damit, den vorhandenen Event-Mode-Filewriter und die NeXuS-Behandlung für raw_data_1/detector_1 zu finden. Kläre die unterstützten Histogramm-/Ereignis-Kombinationen und die Erwartungen an gestreamte Histogramme und überprüfe anschließend, dass der gewählte Ansatz die erforderliche .nxs-Ausgabe im Histogramm-Modus erzeugt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Keine Sprachdaten
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ISISComputingGroup/DataStreaming

Alle Issues in ISISComputingGroup/DataStreaming

Ähnliche Issues

Weitere Issues zu Backend & API Design

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.