def remove_outliers(signal):
    """Filters out artifact rows in signal dataframe
    based on Rate and Amplitude values.
    
    Parameters
    ----------
    signal: pandas dataframe
        Dataframe returned by rsp_process, should include RSP_Rate and RSP_Amplitude columns. 
        
    Returns
    -------
    cleaned_signal: pandas dataframe
        Dataframe with rows removed that contain outlier Rate or Amplitude Values
    """
    signal = signal[signal.RSP_Rate < 200]
    signal = signal[signal.RSP_Rate > 0]
    signal = signal[signal.RSP_Amplitude > 0]
    cleaned_signal = signal[signal.RSP_Amplitude < 1]
    return cleaned_signal