band

stsynphot.spectrum.band(*args, **kwargs)[source]

Convenience function to create a bandpass with an observation mode string.

See ObservationSpectralElement.from_obsmode() and Observation Modes.