Hans Dembinski

Results 330 comments of Hans Dembinski

Another note: the fact that Minuit stops early, once the accuracy is well below 1 sigma, is an advantage. It is wasteful for a statistical fitter to continue iterating until...

> resample: seems also very scoped. No strong feelings. Do you feel we should add it to the metapackage, @HDembinski ? It is not scoped at all, it is a...

Ok, I will look into conda. +1 on removing hepstats. I wanted to take over as maintainer, but now that we have a separate sweights library, the motivation is not...

Thanks for the kind praise! This is a recurring question and the standard answer is to use an `integer` axis for images. The `regular` axis is intended for real-valued input...

Come to think of it, you could also override the `index` method with something that rounds to the nearest integer.

The correct solution for this is for us to support `boost::rational` as the value type of the regular axis, see https://www.boost.org/doc/libs/1_77_0/libs/rational/rational.html, which would enable exact rational arithmetic. This does not...

> What you say makes sense. We just looked at the integer axis, and it most likely would help. But I understand it can not be used with arbitrary bin...

Once again thinking more about it and reading your original message again, is it correct that you only have an issue with the very last bin edge? Because then your...

Sorry for not responding earlier. I think as a practical fix, it is fine to just shift the bins by half a bin width if you are still considering this....

In any case, if you can make a prototype for such an axis with these properties, I am happy to review and build a PR to include it. That being...