25 Nov
2018
25 Nov
'18
4:01 p.m.
Maybe an example script or plugins file demonstrating your issue would
help, because I don’t quite understand what you’re trying to do. That said,
it could be as simple as this:
from yt.units import gauss
cmb_strength = your_cmb_strength * gauss
-Nathan
On Sun, Nov 25, 2018 at 2:58 AM
Hi, all: I need an initial value of CMB magnetic to derive a new field in plugins python file. How can I set the unit of "gauss " to this value? For I can not carry on my calculation between CMB magnetic strength (dimensionless) and the outputs of Enzo (in units of gauss). _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org