code: def _row_from_frevent(frevent, columns, selection):
      
      # read params
      params = dict(frevent.GetParam())
      params['time'] = float(LIGOTimeGPS(*frevent.GetGTime()))
      params['amplitude'] = frevent.GetAmplitude()
      params['probability'] = frevent.GetProbability()
      params['timeBefore'] = frevent.GetTimeBefore()
      params['timeAfter'] = frevent.GetTimeAfter()
      params['comment'] = frevent.GetComment()
      # filter
      if not all(op_(params[c], t) for c, op_, t in selection):
          return None
      # return event as list
      return [params[c] for c in columns]
docs: Generate a table row from an FrEvent
  
      Filtering (``selection``) is done here, rather than in the table reader,
      to enable filtering on columns that aren't being returned.