def _row_from_frevent(frevent, columns, selection):
<EOL>params = dict(frevent.GetParam())<EOL>params['<STR_LIT:time>'] = float(LIGOTimeGPS(*frevent.GetGTime()))<EOL>params['<STR_LIT>'] = frevent.GetAmplitude()<EOL>params['<STR_LIT>'] = frevent.GetProbability()<EOL>params['<STR_LIT>'] = frevent.GetTimeBefore()<EOL>params['<STR_LIT>'] = frevent.GetTimeAfter()<EOL>params['<STR_LIT>'] = frevent.GetComment()<EOL>if not all(op_(params[c], t) for c, op_, t in selection):<EOL><INDENT>return None<EOL><DEDENT>return [params[c] for c in columns]<EOL>
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.