<div dir="ltr">Dear yt:<br>
<br>
I am trying to numerically solve the region around a pulsar. Now since<br>
pulsar is an inclined rotator with inclination angle between rotation axis and dipole axis I would like to include in my yt script.<br>
<br>
My original code written in FORTRAN incorporated this inclination but how would I incorporate it into my visualization using yt without changing my data.<br>
<br>
Could you suggest ways for the same?<br>
<br>
The google drive link to my script (streamline.py) and streamline plot<br>
(streamline_t000.png) is included<br>
<br>
<a href="https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc" rel="noreferrer" target="_blank">https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc</a><br>
<br>
Thanks in advance<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 12:54 PM,  <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send yt-users mailing list submissions to<br>
        <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.spacepope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: gadget onto unigrid (Carla Bernhardt)<br>
   2. Re: gadget onto unigrid (Matthew Turk)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 29 Mar 2016 15:55:27 +0200<br>
From: Carla Bernhardt <<a href="mailto:carla.j.bernhardt@gmail.com">carla.j.bernhardt@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] gadget onto unigrid<br>
Message-ID:<br>
        <CAFK0O=2vH24ViqeZ5QS3DY3uido0kEaF=<a href="mailto:UhyGS_beuiUMbw7Ag@mail.gmail.com">UhyGS_beuiUMbw7Ag@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
<br>
A follow-up question: In using arbitrary_grid (but with enzo data), how<br>
does one then extract a field of an arbitrary_grid? I tried<br>
arbgrid["density"] as I have done with a smoothed_covering_grid object, but<br>
it does not work (here is the traceback <<a href="http://pastebin.com/afgcgpp0" rel="noreferrer" target="_blank">http://pastebin.com/afgcgpp0</a>> I<br>
got).<br>
<br>
Thanks,<br>
Carla<br>
<br>
2016-02-23 17:21 GMT+01:00 Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>>:<br>
<br>
> Hi Desika,<br>
><br>
> Yup, this can be done reasonably easily using either the<br>
> .arbitrary_grid object (which was designed for this) or the interface<br>
> to the arbitrary grid that's in the development version, which is<br>
> ds.r[ ... ] where the ... is some combination of bounds and steps.<br>
><br>
> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid</a><br>
><br>
> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data</a><br>
><br>
> On Tue, Feb 23, 2016 at 10:18 AM, Desika Narayanan<br>
> <<a href="mailto:desika.narayanan@gmail.com">desika.narayanan@gmail.com</a>> wrote:<br>
> > Hi All,<br>
> ><br>
> > Is it possible to deposit the particles from a gadget data set onto a<br>
> > uniform grid in yt?  Or, could it be possible to trick the octree<br>
> deposition<br>
> > into doing it by forcing no refinements, but some sort of native grid<br>
> > resolution?<br>
> ><br>
> > thanks,<br>
> > desika<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > yt-users mailing list<br>
> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
> ><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160329/e29a03a1/attachment.html" rel="noreferrer" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160329/e29a03a1/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 29 Mar 2016 08:57:08 -0500<br>
From: Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] gadget onto unigrid<br>
Message-ID:<br>
        <CALO3=5HR=zLHujWKgLpqwei_98vBOjpYvQ4m8nnUFR=<a href="mailto:P098utA@mail.gmail.com">P098utA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi Carla,<br>
<br>
This functionality was recently implemented and is in the development<br>
version, but not yet in the stable.  We're hoping for a release very<br>
shortly, but you can also try the dev version if you'd like!<br>
<br>
-Matt<br>
<br>
On Tue, Mar 29, 2016 at 8:55 AM, Carla Bernhardt<br>
<<a href="mailto:carla.j.bernhardt@gmail.com">carla.j.bernhardt@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> A follow-up question: In using arbitrary_grid (but with enzo data), how does<br>
> one then extract a field of an arbitrary_grid? I tried arbgrid["density"] as<br>
> I have done with a smoothed_covering_grid object, but it does not work (here<br>
> is the traceback I got).<br>
><br>
> Thanks,<br>
> Carla<br>
><br>
> 2016-02-23 17:21 GMT+01:00 Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>>:<br>
>><br>
>> Hi Desika,<br>
>><br>
>> Yup, this can be done reasonably easily using either the<br>
>> .arbitrary_grid object (which was designed for this) or the interface<br>
>> to the arbitrary grid that's in the development version, which is<br>
>> ds.r[ ... ] where the ... is some combination of bounds and steps.<br>
>><br>
>> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/analyzing/objects.html#arbitrary-grid</a><br>
>><br>
>> <a href="http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/analyzing/objects.html#slicing-syntax-for-selecting-data</a><br>
>><br>
>> On Tue, Feb 23, 2016 at 10:18 AM, Desika Narayanan<br>
>> <<a href="mailto:desika.narayanan@gmail.com">desika.narayanan@gmail.com</a>> wrote:<br>
>> > Hi All,<br>
>> ><br>
>> > Is it possible to deposit the particles from a gadget data set onto a<br>
>> > uniform grid in yt?  Or, could it be possible to trick the octree<br>
>> > deposition<br>
>> > into doing it by forcing no refinements, but some sort of native grid<br>
>> > resolution?<br>
>> ><br>
>> > thanks,<br>
>> > desika<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > yt-users mailing list<br>
>> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>> ><br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of yt-users Digest, Vol 97, Issue 34<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><span style="border-collapse:collapse"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i>SK<sup>2</sup></i></b></span></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><i><sup><br></sup></i></b></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;border-collapse:collapse"><b><sup>"</sup></b></span><font face="arial, sans-serif" color="#500050"><b>Claiming that something can move faster than light is a good conversation-stopper in physics. People edge away from you in cocktail parties; friends never return phone calls. You just don’t mess with Albert Einstein.</b></font><b style="color:rgb(80,0,80);font-family:arial,sans-serif"><sup>"</sup></b></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></div></span></div>
</div></div>