Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.
This repository was archived by the owner on May 21, 2024. It is now read-only.

Binned chi2 zero bins #60

@WMGoBuffs

Description

@WMGoBuffs

If I am fitting a Gaussian distributed variable with BinnedChi2, I am seeing a ValueError if one of the bins in the tails happens to be zero. The method throws this ValueError when the bin error is less than a small threshold value, but does not check to see if the bin weight is also zero. Can this case be checked before bringing the whole thing crashing down?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions