[yt-users] create_profile + particle_mass
John Regan
johnanthonyregan at gmail.com
Thu Oct 20 03:49:00 PDT 2016
Hi All,
I'm getting some strange results when I try to profile the particle
distribution.
I'm using the Enzo64 dataset pulled from the YTHub.
I use the following very simple script but get values which are different
by 50 orders of magnitude. I must be doing something very wrong with the
create_profile routine but its not obvious
prof = create_profile(sp, [("all", "particle_radius")], [("all",
"particle_mass")], weight_field=None)
Any ideas what's going wrong here? Looks at a minimum that the units are
getting messed up?
Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161020/47332f3c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mass_script.py
Type: text/x-python
Size: 281 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161020/47332f3c/attachment.py>
More information about the yt-users
mailing list