yt.analysis_modules.radmc3d_export.RadMC3DImageUtilities module

Functions for dealing with the image.out files created by RADMC-3D

yt.analysis_modules.radmc3d_export.RadMC3DImageUtilities.parse_radmc3d_image_header(lines)[source]

Parses the header lines from the image.out file. Returns a dictionary containing the image parameters.

yt.analysis_modules.radmc3d_export.RadMC3DImageUtilities.read_radmc3d_image(filename)[source]

Loads the image.out file created by radmc-3d. Returns an np.array that contains the image data as well as a dictionary with some useful metadata.