[yt-users] Changing the default logging

David Collins dcollins4096 at gmail.com
Wed Dec 10 11:19:42 PST 2014


>
> http://nbviewer.ipython.org/gist/ngoldbaum/be4cb91f38415e163af4
>
> Care to share your script where the automatic switching doesn't get
> triggered?
>
>
Oops, sorry, my mistake-- I had an error with my path, and wasn't using the
version I intended to be using.
Is there a way to get the changeset from the yt module, rather than
mercurial?  That would reduce pebkac errors.

This auto symlog is fantastic, thanks a ton!

d.


> On Wed, Dec 10, 2014 at 8:57 AM, David Collins <dcollins4096 at gmail.com>
> wrote:
>
>>
>> tricky to do universally.  I'll take a look and see if we can come up
>>> with a way to do.
>>>
>>
>> Groovy.  No hurry.  For now, what I've been doing is
>> >>> pf =yt.load()
>> >>> pf.create_field_info()
>> >>> pf.field_info[('enzo','Bx')].take_log = False
>>
>> Is that a necessary and sufficient set of steps?
>>
>> PS Suoqing Ji just added a symmetric log plot that should turn on by
>>> default.  :)
>>>
>>
>> Oh, sweet.  Where is it, and how to I switch it on?  I updated to
>> >>> yt.__version__
>> '3.1-dev'
>> e936ed325441
>> but a plot of Bx still looks all nan-y
>>
>> d.
>>
>>
>>>
>>> On Wed, Dec 10, 2014 at 10:09 AM, David Collins <dcollins4096 at gmail.com>
>>> wrote:
>>> > Hi, everyone--
>>> >
>>> > I apologize if this was discussed already.  I noticed that in yt3.0,
>>> > magnetic field values have take_log=True, by default (these are the
>>> > ('enzo','Bx') types of fields)  Is there an easy way to change that
>>> > universally (like in the plugins file, or better something more
>>> fundamental,
>>> > since I imagine that this will be the desired effect for most users)
>>> >
>>> > Thanks!
>>> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141210/94869d3e/attachment.htm>
-------------- next part --------------
_______________________________________________
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