<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Reju,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">It may be (it's been a while since I last looked) but I wouldn't rely on it to work the same way or have all of the same features. A lot of changes and enhancements to these features, as well as bug fixes, have gone in since 2.6.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I would strongly recommend using 3.3 for this functionality.<br><br>Best,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">John Z</div><div id="AppleMailSignature"><br><div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">================================</span></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">John ZuHone, Chandra/ACIS Operations<span class="Apple-tab-span" style="white-space: pre;">     </span></span></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">Harvard-Smithsonian Center for Astrophysics<br class=""><br class=""></span></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><a dir="ltr" href="x-apple-data-detectors://0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0">60 Garden St.</a>, MS-67       (w) <a dir="ltr" href="tel:617-496-1816" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/0">617-496-1816</a><br class=""><a dir="ltr" href="x-apple-data-detectors://1/1" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1/1">Cambridge, MA 02138</a>.     (m) <a dir="ltr" href="tel:781-708-5004" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/2">781-708-5004</a></span></font></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);"><br class=""></span></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><a href="mailto:john.zuhone@cfa.harvard.edu" class="">john.zuhone@cfa.harvard.edu</a><br class=""><a dir="ltr" href="http://hea-www.cfa.harvard.edu/~jzuhone" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3">http://hea-www.cfa.harvard.edu/~jzuhone</a><br class="">================================</span></font><br class=""></div></div></div><div><br>On Jul 29, 2016, at 4:09 PM, Reju Sam John <<a href="mailto:rejusamjohn@gmail.com">rejusamjohn@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Dear Nathan,<div>Whether this function is available in YT  2.6?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 30, 2016 at 1:34 AM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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:<div><br></div><div><a href="https://paste.yt-project.org/show/6729/" target="_blank">https://paste.yt-project.org/show/6729/</a><br></div><div><br></div><div>and for FITS:</div><div><br></div><div><a href="https://paste.yt-project.org/show/6730/" target="_blank">https://paste.yt-project.org/show/6730/</a><br></div><div><br></div><div>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.</div><div><br></div><div>The "frb" attribute of a plot object corresponds to a FixedResolutionBuffer instance. You can read more about FixedResolutionBuffer here: </div><div><br></div><div><a href="http://yt-project.org/doc/visualizing/manual_plotting.html" target="_blank">http://yt-project.org/doc/visualizing/manual_plotting.html</a></div><div><a href="http://yt-project.org/doc/reference/api/generated/yt.visualization.fixed_resolution.FixedResolutionBuffer.html" target="_blank">http://yt-project.org/doc/reference/api/generated/yt.visualization.fixed_resolution.FixedResolutionBuffer.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 29, 2016 at 9:46 AM, Prateek Gupta <span dir="ltr"><<a href="mailto:prateekgidolia@gmail.com" target="_blank">prateekgidolia@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Dear Yt users<br><br></div>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.<br><br></div><div>Many thanks in advance<br></div><div><br><br></div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Prateek<br></font></span></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Reju Sam John</div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></body></html>