Skip to content

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

@laraja03

Description

@laraja03

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions