def clean(self):
for f in sorted(self.components.keys()):<EOL><INDENT>unused = not any(self.switches[a][f] for a in self.analytes)<EOL>if unused:<EOL><INDENT>self.remove(f)<EOL><DEDENT><DEDENT>
Remove unused filters.