[yt-users] stitching data sets together

Jonah Miller jonah.maxwell.miller at gmail.com
Thu Aug 20 09:16:26 PDT 2015


Hi Matt,

Thanks for the reply. The datasets are a six patches coordinate system. 
I've attached some images of the six data sets, and how they should 
stitch together. From that, it would be nice to be able to do analysis 
on them---i.e., make an arbitrary slice plot.

It's straightforward to stitch /four of/ the actual arrays together and 
leave out the top and bottom patches. The problem is getting all six to 
work together.

Best,
Jonah

On 15-08-20 09:21 AM, Matthew Turk wrote:
> Hi Jonah,
>
> Right now, I think this would be tricky.  I'm trying to figure out 
> precisely how it could be done without compositing the datasets 
> themselves, and I'm not sure it's terribly feasible at the time being 
> without some trickery.  One possibility, since the data is spherical, 
> is to get fixed res buffers for each section of the plot you want, 
> then utilize matplotlib to stitch those together into a single plot.  
> It might help if you had a little sketch so that your desired outcome 
> could be a bit more visual?
>
> -Matt
>
> On Wed, Aug 19, 2015 at 2:31 PM, Jonah Miller 
> <jonah.maxwell.miller at gmail.com 
> <mailto:jonah.maxwell.miller at gmail.com>> wrote:
>
>     Hi Everyone,
>
>     I have data for a simulation in spherical coordinates that I wish
>     to input into yt and visualize using the generic reader tools.
>     However, the simulation is broken up into six volumes, each of
>     which is a solid angle that makes up part of a sphere.
>     Unfortunately, stitching together the arrays of data produces a
>     lot of redundancies, there's no easy way to include all of it in a
>     single array without including the same data points several times.
>     So what I'd like is a way to feed in each solid angle as an
>     individual data set, but visualize all six datasets on a single
>     plot. Is this possible?
>
>     Thanks in advance for your help!
>
>     Best,
>     Jonah MIller
>     _______________________________________________
>     yt-users mailing list
>     yt-users at lists.spacepope.org <mailto: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/20150820/1af17b1c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sixpatches.png
Type: image/png
Size: 1397335 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150820/1af17b1c/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fourpatches.png
Type: image/png
Size: 754373 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150820/1af17b1c/attachment-0003.png>


More information about the yt-users mailing list