Hi Casey,
Sorry for the late reply - I see that you asked this question 2 weeks ago - I think I got the same question from someone else by private email the same day.... I have had this question several times this summer. Anyway, sorry for missing this.
Larch can definitely fit multiple spectra at one time, co-refining parameters. An example of fitting 3 datasets (Cu K edge at 3 temperatures) is at
That is, you create several "Feffit datasets". Each of these has a group for the chi(k) data, a "transform" that gives the Fourier (or Wavelet) Transform configuration and the fitting ranges, and a list of Feff Paths.
Different data sets can use the same transform and reuse Feff Paths. You will also have a Parameter Group with all the variables and other Parameters used to calculate the Path Parameters for each Feff Path. Anyway, yes, Larch can definitely fit multiple datasets.
But: The XAS Viewer GUI does not currently (yet?) support this -- it helps build a model, do the fit, and inspect the results for one dataset. It also helps write out the larch script to do the fit. One approach could be to use that: use the GUI for "simple stuff" and interactive data exploration, but use a script for more complicated and involved analyses.
I'm not opposed to adding fitting of multiple data sets in the XAS Viewer GUI, but implementing it in the current GUI framework seems challenging (it was definitely challenging for Artemis too). I've heard some good suggestions, but I'd be curious to hear (either here or via private email) what others would like to see or suggest.
I guess that question really extends to other aspects of Larch and XAS Viewer: if there are features, analysis approaches, or GUI tools that you think could be better, let me know.