[yt-users] FRB with different weights

David Collins dcollins4096 at gmail.com
Wed Jul 29 13:20:55 PDT 2015


> 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(...)
>
>
I don't follow how that gets me something I can hand to PhasePlot.  As I
understand it, the call to PhasePlot needs to look like
>>> phaseplot = yt.PhasePlot(data_source,x_field, y_field, z_field)
data_source needs to be a yt container object, doesn't it?

d.



>
>> 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 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.
>>>>
>>>> _______________________________________________
>>>> 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.
>>
>> _______________________________________________
>> 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/2f28ad63/attachment.html>


More information about the yt-users mailing list