Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • est est
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • workflow
  • ewoksapps
  • estest
  • Merge requests
  • !31

update xas input - add xas-viewer

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged payno requested to merge fix_29 into master Dec 10, 2020
  • Overview 0
  • Commits 19
  • Pipelines 14
  • Changes 25

Description / Goal

upgrade the xas input

TODO list

  • plot data for xas_input acording to url, dimensions...
    • add dimensions for 2D data (.dat files for example)
    • use SpectrumViewer to display spectrum loaded
    • add a raw data viewer for spectrum
    • update automatically plot / raw data when data path change or dimension
  • add a xas-viewer application able to load and display input data (from command line)

INFO (how to use...)

Most of the modifications are visible from the xas_input. The new application xas-viewer can be used from command line:

# from a simple ASCII file:
est xas-viewer --input EXAFS_Cu.dat
# from a hdf5 file using the '@' syntax
est xas-viewer --input-spectra data@B33_test_1.h5 --input-channel energy@B33_test_1.h5
# from a hdf5 file using silx DataUrl
est xas-viewer --input-spectra "silx:///[...]B33_test_1.h5?path=/data"  --input-channel "silx:///[...]B33_test_1.h5?path=/energy"

Any warning ?

For now we provide meaning of each dimension (dimension 0 is channel, dimension1 is X...) when it looks like for x-ray larch this is the other way around for x, y... user should provide the dimension (X is dimension1, Y on dimension 2...). Not sure to know what is the best.

More info

  • close #29 (closed)
  • close #20 (closed)
  • close #28 (closed)

associated materials (screenshot, test scripts...)

Screenshot_from_2020-12-11_11-08-14

Screenshot_from_2020-12-11_11-08-23

Screenshot_from_2020-12-11_11-10-55

Edited Dec 16, 2020 by payno
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_29