[yt-users] projection results

Geoffrey So gsiisg at gmail.com
Mon Jun 11 13:10:52 PDT 2012


Hi, sorry for asking a dumb question, but when I do a projection of density

field = "Density"
proj = pf.h.proj(direction, field, weight_field=field)

the numbers I get are ~1e-28

but when I do
proj = pf.h.proj(direction, field, weight_field=None)

the numbers become ~1e-4

this is a 64 cube simulation, if I were to multiply 64 * 1e-28 for a
projection with no weighting, shouldn't I still get numbers on the order of
1e-26 or 1e-27?  I'm guessing there's something I've misunderstood about
pf.h.proj.  Am I missing like a CGS conversion factor when I don't weight
it by some field?

From
G.S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120611/4ccc9d81/attachment.htm>


More information about the yt-users mailing list