code: def summarize(self, events):
      step = np.mean([e[0] for e in events])
      values = np.sort([e[1] for e in events])
      basis_points = np.percentile(values, BASIS_POINTS)
  
      return np.concatenate(([step], basis_points))
  
imports: from typing import List, Optional, NamedTuple
  import numpy
label_desc: Use image node_id 1 for calling the Analytics obj's underlying member method code with example usage: obj.summarize(events) and returns: np