<div dir="ltr"><div><div><div>Dear yt:<br><br></div>I am trying to numerically solve the region around a pulsar. Now since 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></div>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></div><div>The google drive link to my script (streamline.py) and streamline plot (streamline_t000.png) is included<br><br><a href="https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc">https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc</a><br></div><div><br></div>Thanks in advance <br><div><div><div><br><br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 27, 2016 at 1:07 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" target="_blank">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" target="_blank">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" target="_blank">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: Plotting mesh cells (cell edges) (Matthew Turk)<br>
   2. Re: Plotting mesh cells (cell edges) (Matthew Turk)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 27 Mar 2016 09:42:44 -0500<br>
From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Plotting mesh cells (cell edges)<br>
Message-ID:<br>
        <CALO3=<a href="mailto:5Hpndt85jra405LCQ4KP1ugYyX_GkAv-6dWXn865u2HPw@mail.gmail.com" target="_blank">5Hpndt85jra405LCQ4KP1ugYyX_GkAv-6dWXn865u2HPw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Xinsheng,<br>
<br>
Right now this isn't possible -- it tends not to be something that comes up<br>
too often.  But, I think it should be relatively straightforward.  I've<br>
added an issue for it, and I'm going to try to take a look at it tomorrow.<br>
<br>
<a href="https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges</a><br>
<br>
I've marked it a blocker for our next release.<br>
<br>
-Matt<br>
<br>
On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin <<a href="mailto:xsqin@uw.edu" target="_blank">xsqin@uw.edu</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> Does anybody know if yt can plot mesh cells (cell edges) besides edges of<br>
> patches in a 2D slice plot (with AMR grid data), like the one below (only<br>
> cell edges in some patches were plotted)?  I was able to plot edges of<br>
> different AMR grid patches with the *annotate_grids* method of<br>
> *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't<br>
> find any method that seems to do this job?<br>
><br>
><br>
> I am using yt 3.2.3.<br>
><br>
> Any suggestions and discussion will be appreciated.<br>
><br>
> Thank you!<br>
><br>
> Best,<br>
><br>
> --<br>
> ~~~~~~~~~~~~~~~~~<br>
><br>
> Xinsheng Qin<br>
> Ph.D. candidate<br>
> Department of Civil and Environmental Engineering<br>
> University of <a href="mailto:Washingtonxsqin@uw.edu" target="_blank">Washingtonxsqin@uw.edu</a><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/fdc6b683/attachment.html" rel="noreferrer" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/fdc6b683/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 27 Mar 2016 10:36:52 -0500<br>
From: Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Plotting mesh cells (cell edges)<br>
Message-ID:<br>
        <CALO3=5HO7gQEF=71Y+6ObG=<a href="mailto:uCwd2KzjnDivLdO6QpbLi4ALAQw@mail.gmail.com" target="_blank">uCwd2KzjnDivLdO6QpbLi4ALAQw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I've found a few minutes and issued a pull request:<br>
<br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/2088/adding-annotate_cell_edges-closes-1198/diff" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-requests/2088/adding-annotate_cell_edges-closes-1198/diff</a><br>
<br>
<br>
On Sun, Mar 27, 2016 at 9:42 AM, Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>> wrote:<br>
<br>
> Hi Xinsheng,<br>
><br>
> Right now this isn't possible -- it tends not to be something that comes<br>
> up too often.  But, I think it should be relatively straightforward.  I've<br>
> added an issue for it, and I'm going to try to take a look at it tomorrow.<br>
><br>
><br>
> <a href="https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges</a><br>
><br>
> I've marked it a blocker for our next release.<br>
><br>
> -Matt<br>
><br>
> On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin <<a href="mailto:xsqin@uw.edu" target="_blank">xsqin@uw.edu</a>> wrote:<br>
><br>
>> Hello,<br>
>><br>
>> Does anybody know if yt can plot mesh cells (cell edges) besides edges of<br>
>> patches in a 2D slice plot (with AMR grid data), like the one below (only<br>
>> cell edges in some patches were plotted)?  I was able to plot edges of<br>
>> different AMR grid patches with the *annotate_grids* method of<br>
>> *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't<br>
>> find any method that seems to do this job?<br>
>><br>
>><br>
>> I am using yt 3.2.3.<br>
>><br>
>> Any suggestions and discussion will be appreciated.<br>
>><br>
>> Thank you!<br>
>><br>
>> Best,<br>
>><br>
>> --<br>
>> ~~~~~~~~~~~~~~~~~<br>
>><br>
>> Xinsheng Qin<br>
>> Ph.D. candidate<br>
>> Department of Civil and Environmental Engineering<br>
>> University of <a href="mailto:Washingtonxsqin@uw.edu" target="_blank">Washingtonxsqin@uw.edu</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/6d4971ff/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/6d4971ff/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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 32<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div><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></div></div></div></div>