<jupyter_start><jupyter_text>1} Download the data for all detectors involved with the GW170814 detection. Which detectors registered this event?      Then, generate a Q-scan for the data in each detector.<jupyter_code>%matplotlib inline
import gwpy
from gwosc.datasets import event_gps
from gwpy.timeseries import TimeSeries

gps = event_gps('GW170814')
print("GW170814 GPS:", gps)

ldata = TimeSeries.fetch_open_data('L1', int(gps)-512, int(gps)+512, cache=True)
hdata = TimeSeries.fetch_open_data('H1', int(gps)-512, int(gps)+512, cache= True)
vdata = TimeSeries.fetch_open_data('V1', int(gps)-512, int(gps)+512, cache= True)
print("GW170814 data L1")
print(ldata)


print("GW170814 data H1")
print(hdata)


print("GW170814 data V1")
print(vdata)
segmentl = (int(gps) - 30, int(gps) + 2)
ldata = TimeSeries.fetch_open_data('L1', *segmentl, verbose=True)
segmenth = (int(gps) - 30, int(gps) + 2)
hdata = TimeSeries.fetch_open_data('H1', *segmenth, verbose=True)
segmentv = (int(gps) - 30, int(gps) + 2)
vdata = TimeSeries.fetch_open_data('V1', *segmentv, verbose=True)
lq = ldata.q_transform(frange=(20, 500), qrange=(4, 12),outseg=(gps-.1,gps+.05))
plot = lq.plot()
lx = plot.gca()
lx.set_epoch(gps)
lx.set_yscale('log')
lx.colorbar(label="Normalised energy")

hq = hdata.q_transform(frange=(20, 500), qrange=(4, 12),outseg=(gps-.1,gps+.05))
plot = hq.plot()
hx = plot.gca()
hx.set_epoch(gps)
hx.set_yscale('log')
hx.colorbar(label="Normalised energy")

vq = vdata.q_transform(frange=(20, 500), qrange=(4, 12),outseg=(gps-.1,gps+.05))
plot = vq.plot()
vx = plot.gca()
vx.set_epoch(gps)
vx.set_yscale('log')
vx.colorbar(label="Normalised energy")
from gwosc.datasets import event_gps
from gwpy.timeseries import TimeSeries, TimeSeriesDict
gps = event_gps('GW170814')
print("GW170814 GPS:", gps)
data = TimeSeries.fetch_open_data('L1', int(gps)-512, int(gps)+512, cache=True, verbose=True)
QT = data.q_transform(frange=(20, 500), qrange=(4, 12), outseg=(gps-.1,gps+.05))
QT.plot()<jupyter_output>GW170814 GPS: 1186741861.5
Fetched 1 URLs from www.gw-openscience.org for [1186741349 .. 1186742373))
Reading data... [Done]
{'fraction_non_alphanumeric': 0.16886792452830188, 'fraction_numerical': 0.0820754716981132, 'mean_word_length': 6.5212765957446805, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '549281', 'license': 'MIT', 'n_tokens_mistral': 998, 'n_tokens_neox': 867, 'n_words': 178, 'path': 'Q-scan challenge!.ipynb', 'repo_name': 'DhruvKumarPHY/Gravitational_Waves2022', 'size': '2120'}