load_vega

stsynphot.spectrum.load_vega(vegafile=None, **kwargs)[source]

Convenience function to load Vega spectrum that is used throughout stsynphot.

Parameters
vegafilestr or None, optional

Vega spectrum filename. If None, use synphot.config.conf.vega_file.

kwargsdict

Keywords acceptable by synphot.specio.read_remote_spec().

Returns
spsynphot.spectrum.SourceSpectrum or None

Vega spectrum. None if failed.