FAIRmat-NFDI / pynxtools-xps

A pynxtools reader plugin for X-ray photoelectron spectroscopy (XPS) data
https://fairmat-nfdi.github.io/pynxtools-xps/
Apache License 2.0
2 stars 0 forks source link

Add sub-reader for PHI Versaprobe data #5

Closed lukaspie closed 3 months ago

lukaspie commented 5 months ago

Phi Parser:

Other changes:

Error fixes:

Still missing:

This PR depends on FAIRmat-NFDI/pynxtools#220 and should be merged afterwards/together. EDIT: FAIRmat-NFDI/pynxtools#220 merged into pynxools-xps@main.

Resolves FAIRmat-NFDI/pynxtools-xps#1.

github-actions[bot] commented 4 months ago

Pull Request Test Coverage Report for Build 8465335526

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pynxtools_xps/sle/sle_specs.py 0 1 0.0%
pynxtools_xps/txt/txt_vamas_export.py 0 1 0.0%
pynxtools_xps/txt/txt_scienta.py 0 2 0.0%
pynxtools_xps/vms/vamas.py 3 13 23.08%
pynxtools_xps/phi/spe_pro_phi.py 328 341 96.19%
<!-- Total: 704 731 96.31% -->
Totals Coverage Status
Change from base Build 8427529939: 10.0%
Covered Lines: 1956
Relevant Lines: 3327

💛 - Coveralls
lukaspie commented 3 months ago

An additional consideration we already discussed in discord is adding an additional axis for the depth profile so you can view it in one NXdata. Depending on the effort this can either be handled here or in a separate PR.

I realized that this is a bit of an involved effort because the XPS reader so far only works for one-dimensional datasets with an energy axis. In principle, I think I should redesign it such that not every scan gets an axis in NXdata, but rather the scan numbers, measurement cycle numbers, sputter cycle numbers, are axes to one NXdata. However, this requires quite a bit of effort to disentangle in the main reader, so I suggest that I will do it in a separate PR.

Thus, I would just simply wait for the approval that the example/test data can be included here and then it would merge this PR.

domna commented 3 months ago

Thus, I would just simply wait for the approval that the example/test data can be included here and then it would merge this PR.

Sounds reasonable. I'll approve this already. Feel free to add the test data and merge when ready