<div dir="ltr">Hi Elizabeth,<div>Thank you.... thank you very much.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 1:47 PM, Elizabeth Tasker <span dir="ltr"><<a href="mailto:tasker@astro1.sci.hokudai.ac.jp" target="_blank">tasker@astro1.sci.hokudai.ac.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Reju,<br>
<br>
Code units are the units that are used within the simulation. If you’re running a cosmological model, then these units are specified via the choice “G = 1”.<br>
<br>
To convert to something more digestible, I believe you can do:<br>
<br>
vr/pf.units[“mpc”]<br>
<br>
or whatever unit you’d like, if not megaparsecs.<br>
<br>
Elizabeth<br>
<div><div class="h5"><br>
On Jun 11, 2014, at 5:11 PM, Reju Sam John <<a href="mailto:rejusamjohn@gmail.com">rejusamjohn@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> >>>  vr = halo[i].virial_radius(virial_overdensity=200.0, bins=100)<br>
><br>
> will return the virial radius of the halo in code units.<br>
><br>
> What is code units? How to convert it into kps or mps?<br>
> --<br>
> Reju Sam John<br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Reju Sam John</div>
</div>