[yt-users] FRB with different weights

David Collins dcollins4096 at gmail.com
Wed Jul 29 11:54:02 PDT 2015


Can I cram multiple FRBs into export_dataset?



On Wed, Jul 29, 2015 at 2:42 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> 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
> >
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



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


More information about the yt-users mailing list