yt.extensions.volume_rendering.export_rgba

yt.extensions.volume_rendering.export_rgba(image, fn, h5=True, fits=False)

This function accepts an image, of shape (N,M,4) corresponding to r,g,b,a, and saves to fn. If h5 is True, then it will save in hdf5 format. If fits is True, it will save in fits format.

Previous topic

yt.extensions.volume_rendering.VolumeRendering

Next topic

yt.extensions.volume_rendering.import_rgba

This Page