On Wed, Jul 29, 2015 at 3:09 PM, David Collins <dcollins4096@gmail.com> wrote:

I'm trying to make a 2d phase plot from a projection.  
What I've been doing was making an frb, then using export_dataset  to make something I can hand to yt.PhasePlot.

>> ds_frb = frb.export_dataset(fields=field_pass, nprocs=8)
>> ad = ds_frb.all_data()
>> yt.PhasePlot(ad, etc.)

Is there a similar thing I can do with multiple frb?

Couldn't you just iterate over a list of data objects, generating a unique FRB in each loop iteration?
 
Schematically:

>>> objects = [ds.proj(..., weight_field=None), ds.proj(... weight_field='density')]
>>>
>>>for obj in objects:
...       frb = obj.to_frb(...)
...       ds_frb = frb.export_dataset(...)


d.

 
 

d.

 
In principle we could let the projection object accept a list of weight fields (which is what you want, I think), but that's not how it works right now.
 

d.
 
--
-- Sent from a computer.

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




--
-- Sent from a computer.

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




--
-- Sent from a computer.

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org