Stephanie,
You can set it up like this:
pf = load("virgo_weak_mag.0054.vtk",
parameters={"TimeUnits":3.1557e13,
"LengthUnits":3.0856e24,
"DensityUnits":6.770424595218825e-27})
Sorry, this is a little-documented feature.
Best,
John
> _______________________________________________
On Oct 21, 2013, at 10:20 PM, Stephanie Tonnesen <stonnes@gmail.com> wrote:
> Hi Again, Everyone!
>
> So I would also like my figures to be in physical units, instead of in my code units. I *think* the Athena frontend doesn't read in what the unit conversions are (and I am not sure how it would do that). Can I just do something simple like:
>
> DensityUnits = 3.
> density_physunits = grid['density'] * DensityUnits
>
> Then, of course, I don't know how I would do a SlicePlot, ProjectionPlot or phaseplot in physical units...
>
> Any help/advice/direction is appreciated!
>
> Thanks,
> Stephanie
> yt-users mailing list
> yt-users@lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org