[yt-users] PPV cube
John ZuHone
jzuhone at gmail.com
Wed Mar 2 08:51:15 PST 2016
Hi Dave,
Sorry, what do you mean by the "original dumb 3D cube"? Do you mean the original spatial dataset?
The PPVCube is a reduction of data, specifically a projection along a spatial axis, within a number of spectral bins. So though you gain information by creating a velocity axis, you also lose a spatial dimension.
So in that sense you can't get the original data back from the cube--you have to work with the original dataset itself.
Best,
John
John ZuHone
Harvard-Smithsonian Center for Astrophysics
60 Garden St., MS-67
Cambridge, MA 02138
(w) 617-496-1816
(m) 781-708-5004
jzuhone at cfa.harvard.edu
jzuhone at gmail.com
http://www.jzuhone.com
> On Mar 2, 2016, at 11:15 AM, David Collins <dcollins4096 at gmail.com> wrote:
>
> Hi, Everybody!
>
> The PPV cube functionality is completely sweet. Thanks so much!
>
> I have one question about it. I built my cube as described by the docs, wrote to a fits file, then read the fits file with yt.load. If I then want the original dumb three dimensional cube, what's the simplest way to get back to it? I usually use
> >>> ds.index.grids
> when I want the raw data, but that gives me an odd list of 27 FITS_grid objects. Is covering_grid the way to get back to the raw data in this sense?
>
> For this application, I'm working with some other packages that make it easier for me to do mask operations on the cube, rather than use yt regions as I normally would.
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160302/4c586a36/attachment.htm>
More information about the yt-users
mailing list