On Wednesday, July 29, 2015, David Collins
Can I cram multiple FRBs into export_dataset?
You can have multiple data objects, each with a different weight_field.
On Wed, Jul 29, 2015 at 2:42 PM, Matthew Turk
javascript:_e(%7B%7D,'cvml','matthewturk@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
javascript:_e(%7B%7D,'cvml','dcollins4096@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@lists.spacepope.org javascript:_e(%7B%7D,'cvml','yt-users@lists.spacepope.org'); http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org javascript:_e(%7B%7D,'cvml','yt-users@lists.spacepope.org'); http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- -- Sent from a computer.