yt.visualization.fixed_resolution.OffAxisProjectionFixedResolutionBuffer.export_fits

OffAxisProjectionFixedResolutionBuffer.export_fits(filename, fields=None, clobber=False, other_keys=None, units='cm')

Export a set of pixelized fields to a FITS file.

This will export a set of FITS images of either the fields specified or all the fields already in the object.

Parameters:

filename : string

The name of the FITS file to be written.

fields : list of strings

These fields will be pixelized and output. If “None”, the keys of the FRB will be used.

clobber : boolean

If the file exists, this governs whether we will overwrite.

other_keys : dictionary, optional

A set of header keys and values to write into the FITS header.

units : string, optional

the length units that the coordinates are written in, default ‘cm’.