xpdAcq / xpdAn

Analysis Pipelines and Tools for XPD
http://xpdacq.github.io/xpdAn/
Other
2 stars 10 forks source link

ENH: add a module to re-ingest output from xpdan #286

Closed tacaswell closed 3 years ago

tacaswell commented 3 years ago

This is code that came about because I wanted to access the output of xpdan (primarily the integrated curves) after the fact via the databroker API (aka analysis databroker). The levels of nesting in the returned catalog is base on conversations with @DanOlds .

Ideally we would be dropping the output from xpdan / pdfstreams into a databroker directly, but code like this will give us access to old data.

This probably needs to be extended to cover the other data dropped in the output folders (the pdf, barkground subtracted images, do we want merge I(Q) and I(tth) into one event stream?, ...), but this is where I started.

codecov-io commented 3 years ago

Codecov Report

Merging #286 (89e06a3) into master (e38d558) will decrease coverage by 1.62%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #286      +/-   ##
==========================================
- Coverage   65.63%   64.00%   -1.63%     
==========================================
  Files          58       59       +1     
  Lines        4202     4309     +107     
==========================================
  Hits         2758     2758              
- Misses       1444     1551     +107     
Impacted Files Coverage Δ
xpdan/ingest.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e38d558...89e06a3. Read the comment docs.

st3107 commented 3 years ago

It looks good. I just changed the unit of "Q". Currently, I don't have a data folder to test since I don't have the permission to visit the archieved directroy of xpdUser. I will try this module after I get the permission.