RadMC3DWriter.write_line_file(field, filename)

This method writes out fields in the format radmc3d needs to compute line emission.

  • field (string or list of 3 strings) – If a string, the name of the field to be written out. If a list, three fields that will be written to the file as a vector quantity.

  • filename (string) – The name of the file to write the data to. The filenames radmc3d expects for its various modes of operation are described in the radmc3d manual.