[yt-users] comoving length

Junhwan Choi (최준환) choi.junhwan at gmail.com
Mon Oct 13 19:21:17 PDT 2014


Thank you Nathan.
After change mpccm to Mpccm, now it is working.

Junhwan

On Mon, Oct 13, 2014 at 9:12 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
>
>
> 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
>> 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
>



More information about the yt-users mailing list