Added a function in utils.py to fetch triggers classified by GravitySpy. This will allow users to obtain the data in the format of a pandas Dataframe, the function gives the option to save the data in a csv file.
The following bit of code will fetch all the triggers labeled as Fast_Scattering at L1 between Nov 5 and Nov 15 in O3b with SNR between 12 and 18 and confidence above 0.8.
Added a function in utils.py to fetch triggers classified by GravitySpy. This will allow users to obtain the data in the format of a pandas Dataframe, the function gives the option to save the data in a csv file.
The following bit of code will fetch all the triggers labeled as Fast_Scattering at L1 between Nov 5 and Nov 15 in O3b with SNR between 12 and 18 and confidence above 0.8.
from gwpy.time import to_gps, from_gps
t1, t2 = to_gps('2019-11-05'), to_gps('2019-11-15')
from gravityspy.utils.utils import gspy_triggers
gspy_triggers(t1, t2, label='Fast_Scattering', ifo = 'L1', snr_low = 12.0, snr_high=18.0, confidence=0.8)