Open any data file, press "Fit Current" or "Fit All". This fails with the following error:
File "/das/home/usov_i/pyzebra/pyzebra/fit2.py", line 62, in fitccl
if len(scan["peak_indexes"]) > 1:
KeyError: 'peak_indexes'
What should be happening is that the fitting procedure tries to fit data as if there were no peak detected.
*Created by: ivan-usov*
Open any data file, press "Fit Current" or "Fit All". This fails with the following error:
```
File "/das/home/usov_i/pyzebra/pyzebra/fit2.py", line 62, in fitccl
if len(scan["peak_indexes"]) > 1:
KeyError: 'peak_indexes'
```
What should be happening is that the fitting procedure tries to fit data as if there were no peak detected.
*Created by: JakHolzer*
I dont see why someone would do this, but we can add to the no peak
scenario directly, I'll do it in few minutes
pá 30. 10. 2020 v 15:09 odesílatel Ivan Usov <notifications@github.com>
napsal:
> Open any data file, press "Fit Current" or "Fit All". This fails with the
> following error:
>
> File "/das/home/usov_i/pyzebra/pyzebra/fit2.py", line 62, in fitccl
> if len(scan["peak_indexes"]) > 1:
> KeyError: 'peak_indexes'
>
> What should be happening is that the fitting procedure tries to fit data
> as if there were no peak detected.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/paulscherrerinstitute/pyzebra/issues/16>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AM2BBRUI2XBRPG6A2QF2YUTSNLCJDANCNFSM4TFAQTLA>
> .
>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Created by: ivan-usov
Open any data file, press "Fit Current" or "Fit All". This fails with the following error:
What should be happening is that the fitting procedure tries to fit data as if there were no peak detected.
Created by: JakHolzer
I dont see why someone would do this, but we can add to the no peak
scenario directly, I'll do it in few minutes
pá 30. 10. 2020 v 15:09 odesílatel Ivan Usov notifications@github.com
napsal: