[yt-users] field parameters for off-axis projections

Britton Smith brittonsmith at gmail.com
Fri Sep 20 09:30:44 PDT 2013


Another hack would be to add your variables to the pf.parameters
dictionary.  It's certainly not what we want to do moving forward, but it
should work.  I've done this before for derived fields.


On Fri, Sep 20, 2013 at 3:30 AM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:

> I don't think it's straightforward to do in 2.X.  I think you could do it
> with global variables in your field definition - a nasty hack!
>
> In yt-3.0 the camera accepts a data_source keyword argument, so it should
> be pretty straightforward to set up field parameters for volume renderings
> going forward.
>
>
> On Thu, Sep 19, 2013 at 6:53 PM, Cameron Hummels <chummels at gmail.com>wrote:
>
>> Can you give an example?
>>
>>
>> On Thu, Sep 19, 2013 at 6:29 PM, John ZuHone <jzuhone at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Does anyone know a way to use a field with a field parameter in an
>>> off-axis projection?
>>>
>>> Best,
>>>
>>> John Z
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>
>>
>>
>> --
>> Cameron Hummels
>> Postdoctoral Researcher
>> Steward Observatory
>> University of Arizona
>> http://chummels.org
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130920/7e853169/attachment.html>


More information about the yt-users mailing list