Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

DOC: Where can I find the documentation about making a .h5 file from a text file to run into PyXRF?

Aperta
#306 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
28/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Esaminate gli screenshot dell’issue e il workflow documentato per convertire dati testuali in un file .h5 per PyXRF. Confrontate il file creato con l’esempio .h5 funzionante, quindi chiarite la struttura di input richiesta e documentate un percorso di conversione riproducibile che PyXRF possa leggere come spettro.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I have been looking for a long time how to correctly pass data that I have in text format to a .h5 file format. The end goal is to be able to read the .h5 file with PyXRF and get a spectrum.

Expected Behavior

When I run the next code:
xrfh5_page-0001

I get a .h5 file. When I try to read from PyXRF I would expect to see a spectrum.

Current Behavior

However, when reading the file I get a banner that says the following:
xrfmapproblem

Possible Solution

The first thing I did was read an .h5 file that does run with PyXRF. I managed to see the following:
xrfmap_page-0001

But when running the same code but with the .h5 file that I created, the following results:
NOxrfmap

I don't know what to do but I think the problem is in the way I pass the text file to .h5

Thanks!

Lingua principale
Python
Stelle
38
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NSLS2/PyXRF

Tutte le issue di NSLS2/PyXRF

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.