[yt-users] Is there a way to interpolate GADGET images?

Desika Narayanan dnarayan at haverford.edu
Mon Apr 13 10:33:17 PDT 2015


Hi Joseph,

It's not an exact answer to what you're looking for but one thing you can
do to help is force an over refining in the octree building (i.e. each
'False' in the octree will still have 8 child cells instead of being the
terminal point in the refinement).   So, based on the above notebook, you
could load doing something like:

>ds = yt.load(fname,unit_base=unit_base,bounding_box = bbox,
over_refine_factor = 1)

and you can increase over_refine_factor accordingly beyond 1 of course too.
 (The default is 0).  Note though that it can get very taxing on the memory
to go even beyond over_refine_factor=2.

-d


On Mon, Apr 13, 2015 at 1:27 PM, Joseph Smidt <josephsmidt at gmail.com> wrote:

> Hey everyone,
>
>     If you look at this GADGET notebook [1] and specifically the very
> last image of the disk galaxy you will see that the final image is
> very blocky.  And though that makes sense, is there way to interpolate
> to get a smooth image?
>
>     IE... is there a way to say I want an 800x600 pixel images where
> the pixels smoothly interpolate over this particle data so there is no
> blockiness?
>
> [1] http://yt-project.org/docs/dev/cookbook/gadget_notebook.html
>
>
> --
> ------------------------------------------------------------------------
> Joseph Smidt <josephsmidt at gmail.com>
>
> Theoretical Division
> P.O. Box 1663, Mail Stop B283
> Los Alamos, NM 87545
> Office: 505-665-9752
> Fax:    505-667-1931
> _______________________________________________
> 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/20150413/ce351ebd/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list