[yt-users] FRB with different weights

Matthew Turk matthewturk at gmail.com
Wed Jul 29 11:42:24 PDT 2015


Hi Dave,

Right now, no, you'll need multiple FRBs for that.

-Matt

On Wed, Jul 29, 2015 at 2:41 PM, David Collins <dcollins4096 at gmail.com> wrote:
> 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.
>
> _______________________________________________
> 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