Thanks Nathan.

On Sat, Jul 30, 2016 at 1:39 AM, Reju Sam John <rejusamjohn@gmail.com> wrote:
Dear Nathan,
Whether this function is available in YT  2.6?

On Sat, Jul 30, 2016 at 1:34 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
You can't save the plot itself in HDF5 format, but you can save the raw image data to a FITS or HDF5 file. Take a look at this example for hdf5:


and for FITS:


Both export_fits and export_hdf5 accept a list of fields to export. In both examples I'm only exporting one field, but you can export as many as you like at one time.

The "frb" attribute of a plot object corresponds to a FixedResolutionBuffer instance. You can read more about FixedResolutionBuffer here: 


On Fri, Jul 29, 2016 at 9:46 AM, Prateek Gupta <prateekgidolia@gmail.com> wrote:
Dear Yt users

I want to save the slice plot in FITS or HDF5 format. How can I do this in yt once I plot the slice plot of derived field.

Many thanks in advance


Regards
Prateek

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




--
Reju Sam John

_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org