coincidence_trigger output

Dear obspy users:

The output from coincidence_trigger is a list, with a shape of a dict. Is there a way of getting a table for output of this list with just 2 values, say time of trigger and duration, without all the other output that you get from the program ??

Thank you;

Javier Francisco Pacheco
OVSICORI-UNA
javier.pacheco.alvarado@una.cr
“Un hombre se puede equivocar
muchas veces, pero no se convierte
en un fracaso hasta que empiece a
culpar a otros de sus propios errores.”
John Burroughs.

Hi Javier,

I haven't used this function before but I assume that the output is a nested list inside a list. What I would do, is to get the output as it is returned by the function and then operate on it.
A for loop in pythonic way could do what you want. Take a look at this: https://stackoverflow.com/questions/25050311/extract-first-item-of-each-sublist-in-python

Cheers,
Nikolaos Triantafyllis