Issue with fitting when y_err is 0 #17
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: ivan-usov
The fitting routine doesn't seem to handle the situation with y_err being 0 for any point of data. In the following code:
cfe9832c1e/pyzebra/fit2.py (L134-L136)
it will encounter division by 0 in
weights
calculation, which apparently breaksmod.fit
function.