Hi Danilo, Thanks -- we'll fix this. From: DANILO OLIVEIRA DE SOUZA via Ifeffit <ifeffit@ millenia. cars. aps. anl. gov> Sent: Friday, February 21, 2025 12: 48 PM To: ifeffit@ millenia. cars. aps. anl. gov <ifeffit@ millenia. cars. aps. anl. gov>
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi Danilo,
Thanks -- we'll fix this.
From: DANILO OLIVEIRA DE SOUZA via Ifeffit <ifeffit@millenia.cars.aps.anl.gov>
Sent: Friday, February 21, 2025 12:48 PM
To: ifeffit@millenia.cars.aps.anl.gov <ifeffit@millenia.cars.aps.anl.gov>
Cc: DANILO OLIVEIRA DE SOUZA <oliveira.souza.danilo@ce.uerj.br>
Subject: [Ifeffit] Error saving Feffit results in Filtered X(k)
This Message Is From an External Sender
This message came from outside your organization.
Dear Matt,
Firstly, I must congratulate you for your effort in making Larch such a nice, user-friendly, intuitive tool for XAS analysis. Cheers to you and all the collaborators. And thank you for making it available for the whole community.
I would like just to report a (small) issue concerning saving Feffit results using Larix.
After an EXAFS fitting, I tried successfully save the graphs in every option available, i.e., k-weighted chi(k), chi(R), Real[Chi(R)] and Filtered X(k).
Everything works pretty well, except the last one, where an error can be observed on the prompt:
File "C:\...\Python\Python311\site-packages\larch\wxxas\feffit_panel.py", line 2211, in onSaveFit
ydata = getattr(ds0.data, yname)[:nx] * xarr**kw
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
ValueError: operands could not be broadcast together with shapes (259,) (326,)"
I do not know if it happens just on my version and I know it is a minor issue, since having the window used on back-FT we can plot it easily. In any case, I am just reporting the situation for your knowledge.
Cheers,
Danilo OLIVEIRA DE SOUZA