-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi Björn,
I've been working with my friend Tobi on a decay calculator website using your module. The code is very rough atm, as you can see it is my first proper project! Its public in my repository although not currently working.
As a trial I put the U-238 decay chain into your excellent batemaneq module and ended up with daughter products which were a little odd. Values were higher than was possible i.e. disintegrations per second were higher for daugher products than the parent. I believe greater uncertainty is to be expected with bateman as the Thalf approach each other (U-238, U234 & Th230 Thalf = 4.9e9, 2.4e5 & 7.4e4y). The errors approach 4 significant figures on the 4th daugher product which I'd like to reduce.
I noticed in your C++ proof of the code you increased the precision of the calculations. Could a similar thing be done in python by using a 64 or 128 bit float? Example here?
I appreciate your help and time up to now and any further assistance is gratefully received. If you want me to send the code/results through let me know.
All the best,
Kenny