This post is from a suggested group
Peak fitting errors with XFI data (follow-up & and fixes)
Today I noticed with our student's new install of SMAK 3.0.9 (although this was also happening with my 3.0.8 version originally before I fixed my .cfg file) the defaultPyMCAConfig.cfg file has a line that causes peak fitting to crash when performing MCA peak-fitting. The error that comes back from SMAK is:
ValueError Exception in Tk callback Function: <bound method Main.testMCAfitdata of <__main__.Main object at 0x000002EAA3173370>> (type: <class 'method'>) Args: ()Traceback (innermost last): File "C:\ProgramData\Miniconda3\envs\smakenv\lib\site-packages\Pmw\Pmw_2_1_1\lib\PmwBase.py", line 1761, in __call__
Thanks Eleanor, no, my file names start with regular letters. Looks like the issue is that some of my step sizes were smaller than the default interpolation size. Turning off interpolation solved the problem, as did setting the interpolation smaller than my smallest energy steps.