xraypy / xraylarch

Larch: Applications and Python Library for Data Analysis of X-ray Absorption Spectroscopy (XAS, XANES, XAFS, EXAFS), X-ray Fluorescence (XRF) Spectroscopy and Imaging, and more.
https://xraypy.github.io/xraylarch
Other
138 stars 68 forks source link

[xas_viewer] unify Wx data importers #367

Open maurov opened 2 years ago

maurov commented 2 years ago

Currently there are three separate Wx data importer frames (in larch.wxlib): 1) columnframe, 2) specfile_importer, 3) athenaproject_importer. It is difficult to maintain the three of them as new features are added. It would result beneficial to have only one Wx frame capable of importing all types of data supported in Larch.

newville commented 2 years ago

@maurov yes, I agree these should be using a more common interface especially for the part that converts the 2d data array read in from the source to energy/mu arrays.