Skip to content
Snippets Groups Projects

Multi xas with nans

Merged Wout De Nolf requested to merge multi_xas_with_nans into main
All threads resolved!

Example

from ewoks import execute_graph

input_information = {
    "channel_url": "silx:///data/scisoft/ewoks/ch7280/id24-dcm/20250131/RAW_DATA/Ru_WVC1/Ru_WVC1_1_RT_air/Ru_WVC1_1_RT_air.h5::/1.1/measurement/energy_enc",
    "spectra_url": "silx:///data/scisoft/ewoks/ch7280/id24-dcm/20250131/RAW_DATA/Ru_WVC1/Ru_WVC1_1_RT_air/Ru_WVC1_1_RT_air.h5::/1.1/measurement/mu_trans",
    "energy_unit": "keV",
    "is_concatenated": True,
    "skip_concatenated_n_points": 1,
    "skip_concatenated_n_spectra": 0,
}

inputs = [
    {
        "task_type": "ReadXasObject",
        "name": "input_information",
        "value": input_information,
    }
]
execute_graph("online.ows", inputs=inputs, engine="orange")

image

image

Edited by Wout De Nolf

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • payno
  • Wout De Nolf added 1 commit

    added 1 commit

    • 043296f4 - improve array_undo_mask docstring

    Compare with previous version

  • Wout De Nolf added 7 commits

    added 7 commits

    • 043296f4...a3063821 - 2 commits from branch main
    • 4f0baea0 - refactor Spectra.map_to
    • 87d9bf86 - handle NaN's in larch and noise tasks
    • cd55267a - PlotSpectrumData: return plots for all XAS spectra
    • f0fb039c - concatenated XAS spectra: skip N spectra and N start/end points
    • 1754e513 - improve array_undo_mask docstring

    Compare with previous version

  • Wout De Nolf added 1 commit

    added 1 commit

    • e1b78a7e - array_undo_mask does not support integers

    Compare with previous version

  • payno resolved all threads

    resolved all threads

  • payno approved this merge request

    approved this merge request

  • Wout De Nolf mentioned in commit 3581c55e

    mentioned in commit 3581c55e

  • merged

  • Please register or sign in to reply
    Loading