[yt-users] volume rendering of other fields than the density

Geoffrey So gsiisg at gmail.com
Fri May 17 13:35:38 PDT 2013


The non-adaptive script worked flawlessly, nice colorbar and everything,
thanks!

From
G.S.


On Fri, May 17, 2013 at 1:28 PM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:

> Did you try the non-adaptive healpix volume rendering?
>
>
> http://yt-project.org/docs/2.5/visualizing/volume_rendering.html?highlight=healpix#healpix-volume-rendering
>
> On May 17, 2013, at 1:25 PM, Geoffrey So <gsiisg at gmail.com> wrote:
>
> Bug filed.
>
> Is there something else that does all sky projection like WMAP in YT?  I
> guess the healpix isn't 'exactly' what the guy wanted but that's the
> closest thing I found.
>
> From
> G.S.
>
>
> On Fri, May 17, 2013 at 1:16 PM, Matthew Turk <matthewturk at gmail.com>wrote:
>
>> Hi Geoffrey and Wolfram,
>>
>> It looks to me like the adaptive healpix volume renderer has bitrot.
>> My guess is that this dates back to the threading changeover.  I am
>> the original author of this functionality.
>>
>> If someone else is able to look at it and update it, it would be
>> greatly appreciated.  Unfortunately, I cannot take on this
>> responsibility at this time.  Please fill out a bug so that it does
>> not get lost.
>>
>> -Matt
>>
>> On Fri, May 17, 2013 at 3:57 PM, Geoffrey So <gsiisg at gmail.com> wrote:
>> > Any update on this issue?  I was recommending this to another grad
>> student
>> > who wanted a projection map from a central point of a simulation.  Not
>> sure
>> > if it is the right thing, but seemed the closest I can find.
>> >
>> > I tried healpix example script from the doc page:
>> > http://paste.yt-project.org/show/3466/
>> > and got the following error:
>> >
>> > Traceback (most recent call last):
>> >   File "healpix.py", line 18, in <module>
>> >     camera.snapshot()
>> >   File
>> >
>> "/Users/gso/Documents/dev-yt/src/yt-hg/yt/visualization/volume_rendering/camera.py",
>> > line 1282, in snapshot
>> >     tfp = TransferFunctionProxy(self.transfer_function)
>> > NameError: global name 'TransferFunctionProxy' is not defined
>> >
>> > using dev-yt from a fresh install as of yesterday
>> >
>> > The current version of the code is:
>> >
>> > ---
>> > 03c08d0a79ca
>> > ---
>> >
>> > This installation CAN be automatically updated.
>> > yt dependencies were last updated on
>> > Thu May 16 13:09:12 PDT 2013
>> >
>> > Somehow it always tells me I need to update manually when I do >yt
>> update
>> > --all, so I just did a fresh install.
>> >
>> > From
>> > G.S.
>> >
>> >
>> > On Thu, May 16, 2013 at 1:08 PM, Sam Skillman <samskillman at gmail.com>
>> wrote:
>> >>
>> >> Hi Wolfram,
>> >>
>> >> Sorry for the trouble -- the adaptive healpix rendering is fairly
>> beta, as
>> >> noted in that example, and I fear it may have gotten left behind in
>> some of
>> >> the recent developments.  Could you let me know what version of yt you
>> are
>> >> using?  You can check this with:
>> >>
>> >> yt instinfo
>> >>
>> >> It should spit out something like (in addition to other things):
>> >> The current version of the code is:
>> >>
>> >> ---
>> >> 1158e48daef2
>> >> ---
>> >>
>> >> Thanks,
>> >> Sam
>> >>
>> >>
>> >> On Thu, May 16, 2013 at 3:04 AM, Wolfram Schmidt
>> >> <schmidt at astro.physik.uni-goettingen.de> wrote:
>> >>>
>> >>> Hi all,
>> >>>
>> >>> I used the example script from the Tutorial section of the Volume
>> >>> Rendering page:
>> >>>
>> >>>
>> >>>
>> http://yt-project.org/doc/visualizing/volume_rendering.html#adaptive-healpix-volume-rendering
>> >>>
>> >>> It works fine for the density, but for any other field (e.g.
>> temperature)
>> >>> the output is just blank. I don't see why I wouldn't work for other
>> fields,
>> >>> as the script appears to be written for arbitrary fields. Changing
>> level
>> >>> bounds, use_log, etc. doesn't help.
>> >>>
>> >>> Does anyone how to fix this?
>> >>>
>> >>> Cheers,
>> >>> Wolfram
>> >>> _______________________________________________
>> >>> 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
>> >
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130517/7351cf9e/attachment.html>


More information about the yt-users mailing list