[(0.6205, nan)]
This is complicated when there are multiple decay pathways, as I saw some in some discussion earlier. The solution seems to be to use the Material.gammas() method, which does all of that. This was my solution, but then was foiled when some of the nuclides gave an error with the material method (namely, As82M).
--
You received this message because you are subscribed to a topic in the Google Groups "PyNE Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyne-users/MIEEVyAXIBg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyne-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-users/0f30ef54-a9b7-486a-8375-d254a689818en%40googlegroups.com.
Hi all,
Thanks for this great dialog. One of my own students has been trying to wade through all of this recently, as well.
Can someone add an issue on the Github page that describes the problem - at least the symptoms, but better-still the cause - and we can use that do capture and discuss solutions?
If you think you have a solution, we welcome pull requests to the PyNE repo.
Paul
You received this message because you are subscribed to the Google Groups "PyNE Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-users/CA%2B0i0jjLdLuDeuEkEwHrqyaMZyL25gkyO%2BBG5y4Q30ktpS9zwA%40mail.gmail.com.
We were able to confirm that Cameron inserted the negative in his processing of the ENSDF data when he wrote the code:
I’m pretty rusty on this, but my recollection is that ENSDF data declares energy levels in two different places, one is in “level data” and the other is in “decay data”. I’m pretty sure the negatives come about when a level declared in “decay data” does not match closely to any level in “level data”. The connotation is “this is the closest level I could find, but it doesn’t match within reason”. From git blame, it looks like ”reason” was defined arbitrarily by me as 3 keV to get U transition states to come up as valid . At the time I think Anthony and I had a few conversation with the nuclear data community about feeding this back to update ENSDF files (or as an additional check that could be run for new decay data files), but it never went anywhere.
So I can confirm that it doesn't come from the original data. Sorry that this response did not include the list.
def manual_gammas(nuclide): parent = nucname.id(nuclide) decay_c = data.decay_const(parent) energies = data.gamma_energy(parent) intensities = data.gamma_photon_intensity(parent) children = data.gamma_from_to_byparent(parent) decay_children = data.decay_data_children(parent) decay_branches = data.decay_photon_branch_ratio_byparent(parent) gammas_result = [] for i, c in enumerate(children): for j, dc in enumerate(decay_children): # here is where we skip negative nuclides if c[0] > 0: if nucname.zzzaaa(c[0]) == nucname.zzzaaa(dc): gammas_result.append((energies[i][0], decay_c*intensities[i][0]*decay_branches[j][0])) return gammas_result
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-users/853bf1f7-ff04-439a-8c2d-2f1dcb28a3e2n%40googlegroups.com.