Library for filtering signals based on other signal behavior