RadMC3DWriter.write_source_files(sources, wavelengths)

This function creates the stars.inp and wavelength_micron.inp files that RadMC3D uses for its dust continuum calculations.

  • sources (a list of RadMC3DSource objects) – A list that contains all the sources you would like yt to create

  • wavelengths (np.array of float values) – An array listing the wavelength points you would like to use the radiative transfer calculation