yt.extensions.StarAnalysis.SpectrumBuilder.write_out_SED

SpectrumBuilder.write_out_SED(name='sum_SED.out', flux_norm=5200.0)

Write out the summed SED to a file. The file has two columns: 1) Wavelength (Angstrom) 2) Relative flux normalized to the flux at flux_norm. It also will attach to the SpectrumBuilder object an array f_nu which is the normalized flux, identical to the disk output.

Parameters :

name : String

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

flux_norm : Float

Wavelength of the flux to normalize the distribution against. Default = 5200 Ang.

Examples

>>> spec.write_out_SED(name = "SED.out", flux_norm = 6000.)

Previous topic

yt.extensions.StarAnalysis.SpectrumBuilder.write_out

This Page