get_filtering_contenthandler#

gwpy.io.ligolw.get_filtering_contenthandler(
element: type[Element],
) type[FilteringLIGOLWContentHandler][source]#

Build a FilteringLIGOLWContentHandler to exclude this element.

Parameters:
elementtype, subclass of Element

the element to exclude (and its children)

Returns:
contenthandlertype

a subclass of FilteringLIGOLWContentHandler to exclude an element and its children