[yt-users] Slice plot in FITS format

Prateek Gupta prateekgidolia at gmail.com
Fri Jul 29 22:25:36 PDT 2016


Thanks Nathan.

On Sat, Jul 30, 2016 at 1:39 AM, Reju Sam John <rejusamjohn at 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 at 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:
>>
>> https://paste.yt-project.org/show/6729/
>>
>> and for FITS:
>>
>> https://paste.yt-project.org/show/6730/
>>
>> 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:
>>
>> http://yt-project.org/doc/visualizing/manual_plotting.html
>>
>> http://yt-project.org/doc/reference/api/generated/yt.visualization.fixed_resolution.FixedResolutionBuffer.html
>>
>> On Fri, Jul 29, 2016 at 9:46 AM, Prateek Gupta <prateekgidolia at 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 at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
>
> --
> Reju Sam John
>
> _______________________________________________
> 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/20160730/5b2ba279/attachment.html>


More information about the yt-users mailing list