Closed jaromrax closed 2 years ago
Hi @jaromrax, thanks for the notes! I've added some sections to your description to improve our ability to address each one.
iso2
, barns
, iso
and activated_qty
vars?ipykernel
you can downgrade ipython
to 7.10
as mentioned here: https://github.com/ipython/ipykernel/issues/540#issuecomment-699566981. FYI if you are using a conda
env (highly recommended) you can update this with conda update ipykernel jupyter
.Yes, I'm guessing comment 4 pertains to #324, and I hope to get in a fix soon.
Excellent, thanks @markbandstra!
Comment 1
activated_qty = IsotopeQuantity(iso2, date='2017-05-01', bq=103.2) na23_qty = ni.activate(barns, initial=iso, activated=activated_qty)
gives nan g
Here iso
and iso2
are Na-23 and Na-24, respectively. Na-23 is stable, so the division by self.decay_const
(which is 0
) produces the nan
. @jccurtis @markbandstra I think there's a physics error in the example, not in the IsotopeQuantity
code.
@jvavrek thanks for the context. Totally makes sense. I think the comments have all been addressed.
@jaromrax let us know if these comments address the issues you have encountered. Thanks!
Closed by #339 #333 #326. @jaromrax please let us know if any problems persist by opening a new issue.
Comment 1
gives nan g
Comment 2
is shown many times....
Comment 3
appears also sometimes in different notebooks.
Comment 4
Also JSON from compendium may not be loaded with all materials...