[yt-users] stitching data sets together

Matthew Turk matthewturk at gmail.com
Fri Aug 21 19:59:35 PDT 2015


Hi Jonah,

I've been thinking about this, and I wonder if it's possible to identify
which sections overlap.  Is there partial overlap between two given cells,
or do cells either overlap or *not* overlap?  If there's only full overlap
in cells (i.e., a cell in one section totally overlaps with a cell in a
different section) then I think we can do dynamic or computed masking and
create a single unified dataset.  Does that make sense?

-Matt

On Thursday, August 20, 2015, Jonah Miller <jonah.maxwell.miller at gmail.com>
wrote:

> 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
> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','yt-users at lists.spacepope.org');>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
>
>
> _______________________________________________
> yt-users mailing listyt-users at lists.spacepope.org <javascript:_e(%7B%7D,'cvml','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/20150821/686da4d2/attachment.htm>


More information about the yt-users mailing list