code: def get(self, time, interpolate='previous'):
          
          try:
              getter = self.getter_functions[interpolate]
          except KeyError:
              msg = (
                  "unknown value '{}' for interpolate, "
                  "valid values are in [{}]"
              ).format(interpolate, ', '.join(self.getter_functions))
              raise ValueError(msg)
          else:
              return getter(time)
docs: Get the value of the time series, even in-between measured values.