yt.extensions.StarAnalysis.SpectrumBuilder.write_out

SpectrumBuilder.write_out(name='sum_flux.out')

Write out the summed flux to a file.

The output file from this function has two columns: Wavelength (Angstrom) and Flux (Luminosity per unit wavelength, L_sun Ang^-1, L_sun = 3.826 * 10^33 ergs s^-1.).

Parameters :

name : String

Name of file to write to. Default = “sum_flux.out”

Examples

>>> spec.write_out("spec.out")

Previous topic

yt.extensions.StarAnalysis.SpectrumBuilder.read_bclib

Next topic

yt.extensions.StarAnalysis.SpectrumBuilder.write_out_SED

This Page