Waveband

class pyvo.registry.Waveband(*bands)[source]

Bases: Constraint

A constraint on messenger particles.

This builds a constraint against rr.resource.waveband, i.e., a verbal indication of the messenger particle, coming from the IVOA vocabulary http://www.ivoa.net/rdf/messenger.

The pyvo.registry.Spectral constraint enables selections by particle energy, but few resources actually give the necessary metadata (in 2021).

Multiple wavebands can be given (and are effectively combined with OR).

Parameters
*bandstuple of strings

One or more of the terms given in http://www.ivoa.net/rdf/messenger. The constraint matches when a resource declares at least one of the messengers listed.