[yt-users] FRB with different weights

David Collins dcollins4096 at gmail.com
Wed Jul 29 11:41:12 PDT 2015


Hi, Everybody--

When I get a field out of an frb, is it possible to specify the weight
field separately for different fields?  EG if I do
>>> proj = ds.proj('density',0)
>>> frb = proj.to_frb(1,2)
>>> frb['vx', weight_field='cell_mass']
or something like that?  So I make an un-weighted projection, the get a
weighted average for a different field.

The reason I'm asking is we're making phase plots of projected quantities,
using the export_frb functionality.  We'd like to have one axis a weighted
quantity, and the other unweighted.

Thanks!
d.

-- 
-- Sent from a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150729/b2b30299/attachment.htm>


More information about the yt-users mailing list