'Resample the query with given sampling interval.'

def Normalize(self, period, start_time, stop_time, **kwargs):

    if (self.time_series is None):
        raise RuntimeError('Normalize    must    be    called    after    Take*().')
    self.sample_interval = period
    self.start_time = start_time
    self.stop_time = stop_time
    for time_serie in self.time_series:
        time_serie.Normalize(period, start_time, stop_time, **kwargs)
    return self
