def __init__(self, time_window):
        """
        :Parameters:

          time_window : time in seconds
            Over this period the average frequency is measured
            
        """
        self.time_window = time_window
        self.tick_times = []

        :Parameters:

          time_window : time in seconds
            Over this period the average frequency is measured
            
        
recipes/Python/576607_Frequency_measurement_convenience/recipe-576607.py