Hans Dembinski
Hans Dembinski
I like nteract very much, but the new version 0.15.0 is so slow now, it makes nteract unusable for me. Environment: macOS Mojave 10.14.6, Python 3.7 kernel [Here is a...
Context: In my Numba combined function, I need to look up the mass of particles based on their PID and I need to look up how many strange quarks it...
To stress this again, if `Particle` does not derive from `PDGID`, then it is very unnatural that `int(Particle(...))` works, since `Particle` according to your design "is not" a `PDGID`.
More surprises which are a consequence of `Particle` not inheriting from `PDGID`: `abs(Particle(...))` fails, but `abs(PDGID(...))` works.
Ok, I get why Particle does not derive from PDGID, but then I find it weird to allow `int(Particle(...))`. You want to teach people to use `int(Particle(...).pdgid)` then. Allowing int...
Some pseudo-code of what would be useful to do in Numba (my actual code is more complex): ```py @nb.njit def get_mass(array_of_pids): masses = np.empty(len(array_of_pids)) for i, pid in enumerate(arrays_of_pids): m...
Sounds good. Why not make find() and findall() functions on the module-level? Why attach them to a class? I think the fundamental question is whether you want to expose the...
There shouldn't be a substantial change apart from minor numerical rounding errors. The factor 2 should only affect the uncertainties and even that only if you didn't compensate by setting...
Note: the accuracy of MINUIT is typically way lower than machine precision. Deviations of 1e-6 can be expected, also see https://iminuit.readthedocs.io/en/stable/benchmark.html.
Yes, please do that. However, the benchmark does not tell the whole story. I also did an informal test of a case with limits on parameters and there Minuit performed...