@staticmethod
def _getridof_double_peaks(data):
    """
        Small hack function to eliminate double peak values from a timeserie

        Parameters
        -----------
        data : pd.DataFrame
        """
    diff = data.diff()
    data[diff == 0.0] = data[diff == 0.0] - 0.001
    return data
