[yt-users] shine through images

Matthew Turk matthewturk at gmail.com
Thu Mar 1 11:06:07 PST 2012


You will probably have to use the projection call yourself, through:

proj = pf.h.proj(0, "Density", style="mip")
proj.to_frb(...)

On Thu, Mar 1, 2012 at 2:00 PM, Elizabeth Tasker
<tasker at astro1.sci.hokudai.ac.jp> wrote:
> Hi Matt,
>
> Thanks very much! I'm amazed you did that so quickly.
>
> I don't quite understand your last statements. Do you mean when I call
> the projection, I should do:
>
> pc.add_projection("Density", 0, style ="mip")
>
> Elizabeth
>
>
> On 1 March 2012 12:06, Matthew Turk <matthewturk at gmail.com> wrote:
>> Hi Elizabeth,
>>
>> Pull request is here:
>>
>> https://bitbucket.org/yt_analysis/yt/pull-request/110/mip-projections
>>
>> This adds style="mip" as an option.  The default is still
>> style="integrate".  Behavior is undefined if you weight a MIP.
>>
>> -Matt
>>
>> On Wed, Feb 29, 2012 at 6:49 PM, Matthew Turk <matthewturk at gmail.com> wrote:
>>> Hi Elizabeth,
>>>
>>> This type of projection is usually called a MIP for maximum intensity
>>> projection.  It is not currently possible.  However, I think that with
>>> a few modifications it could be added, as we now use a QuadTree with a
>>> set of helper functions; the QTN_add_value function specifically could
>>> be swapped out relatively easily.  If you fill out a ticket targeted
>>> at 2.4 I will add this functionality.
>>>
>>> -Matt
>>>
>>> On Wed, Feb 29, 2012 at 6:46 PM, Elizabeth Tasker
>>> <tasker at astro1.sci.hokudai.ac.jp> wrote:
>>>> Hi,
>>>>
>>>> Is there a way to create an image that, rather than being a
>>>> projection, shows the maximum or minimum point of a field?
>>>>
>>>> Elizabeth
>>>> _______________________________________________
>>>> 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
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list