[yt-users] Athena units
John ZuHone
jzuhone at gmail.com
Mon Oct 21 19:24:01 PDT 2013
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 at 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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
More information about the yt-users
mailing list