<div dir="ltr">Hi Sam,<div><br></div><div>Try this:</div><div><br></div><div>>>> import yt.units as u</div><div>>>> help(u)</div><div><br></div><div>On my machine, this prints out:</div><div><br></div><div><a href="http://paste.yt-project.org/show/7182/">http://paste.yt-project.org/show/7182/</a><br></div><div><br></div><div>The specific symbol you are looking for is defined in yt.units as mh, mass_hydrogen, mass_hydrogen_cgs. All of these names are interchangeable.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 12:54 PM, Sam Patrick <span dir="ltr"><<a href="mailto:sam.patrick@port.ac.uk" target="_blank">sam.patrick@port.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm relatively new to yt and was wondering if there was any resource outlining the names of all physical constants programed into yt and how to access them i.e:<br>
<br>
Newton's constant: G<br>
Boltzmann constant; kboltz<br>
Speed of light: c<br>
etc.<br>
<br>
specifically I need the name for the mass of hydrogen used within the program but I can foresee such a list being very useful in the future.<br>
<br>
many thanks,<br>
Sam P<br>
______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/lis<wbr>tinfo.cgi/yt-users-spacepope.<wbr>org</a><br>
</blockquote></div><br></div>