[yt-users] comoving length

Nathan Goldbaum nathan12343 at gmail.com
Mon Oct 13 19:12:44 PDT 2014


On Monday, October 13, 2014, Junhwan Choi (최준환) <choi.junhwan at gmail.com>
wrote:

> Hi yt user,
>
> I have very simple question.
> In older version of yt, there was comoving length unit such as mpccm.
> So that I can make visualization in following way:
> >pc = yt.ProjectionPlot(pf, "x", "Dark_Matter_Density", width = (4.0,
> 'mpccm'),center=cen_center)
> But, after I update the latest version, the plots made by this command
> give me very strange output.
> Instead, I use following command:
> pc = yt.ProjectionPlot(pf, "x", "Dark_Matter_Density", center=cen_center)
> It gives me correct output.
> Is "width = (4.0, 'mpccm')" keyword changed in new yt?


What happens if you do "width=(4.0, 'Mpccm')"?

The new unit system in yt 3.0 parses "mpc" as 10^-3 parsec.


> Thank you in advance,
> Junhwan
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org <javascript:;>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141013/e4b9f224/attachment.htm>


More information about the yt-users mailing list