[yt-users] What is code units? How to convert it into kps or mps

Reju Sam John rejusamjohn at gmail.com
Wed Jun 11 02:19:45 PDT 2014


Hi Elizabeth,
Thank you.... thank you very much.



On Wed, Jun 11, 2014 at 1:47 PM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> Hi Reju,
>
> 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”.
>
> To convert to something more digestible, I believe you can do:
>
> vr/pf.units[“mpc”]
>
> or whatever unit you’d like, if not megaparsecs.
>
> Elizabeth
>
> On Jun 11, 2014, at 5:11 PM, Reju Sam John <rejusamjohn at gmail.com> wrote:
>
> > Dear all,
> >
> > >>>  vr = halo[i].virial_radius(virial_overdensity=200.0, bins=100)
> >
> > will return the virial radius of the halo in code units.
> >
> > What is code units? How to convert it into kps or mps?
> > --
> > Reju Sam John
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



-- 
Reju Sam John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140611/3330b7a7/attachment.html>


More information about the yt-users mailing list