get_waveset

synphot.models.get_waveset(model)[source]

Get optimal wavelengths for sampling a given model.

Parameters:
modelModel

Model.

Returns:
wavesetarray-like or None

Optimal wavelengths. None if undefined.

Raises:
synphot.exceptions.SynphotError

Invalid model.