Dear colleagues,
I applied the q-transform using TimeSeries.q_transform()
in gwpy
of pure noises, mixed noises and templates, and pure templates. Pure noises were obtained from TimeSeries.fetch_open_data()
in gwpy
, and the templates were generated by get_td_waveform(approximant="SEOBNRv4")
in pycbc.waveform
. I mixed the template with pure noise segment by scaling the template with “peak SNR” and directly adding to the noise. “Peak SNR” is calcuated as the ratio between the maximum strain amplitude of template and that of the noise segment. As a new user, I can only post one figure, and sorry for the bad resolution.
Fig. 1 shows the q-transform plots (q-plots) of different peak SNRs. The relative values between these peak SNRs are 0.1 : 1 : 10. Sorry for the overlapped x ticks in the first column. As peak SNR increases, there’s no obvious difference in time series, however the energy amplitudes (scales of the color bar) in the q-plots increase significantly. This may indicate that the q-transform is sensitive to discontinuities. The more the template was discontinuosly added, the larger the energy amplitude becomes. Also, the waveform does not look like a gravitational wave chirp but more like a glitch.
Since the template behaves unexpectedly in q-plots, I further enlarge the amplitude of the template to see what if the q-plot of pure template. It turned out the the chirp can be seen if the template dominantes, as shown in Fig. 2. However the energy explodes again as the template becomes more apparent. We may not get the correct energy amplitude information using q-transform.
In the case with very few noises, not only the amplitudes explode but the chirp gradually becomes a glitch-like structure. Fig. 3. shows the q-plots of some exaggerated peak SNRs. It seems that q-transform cannot handle such kind of ""clean signals.
While q-transform failed to give the proper information, TimeSeries.spectrogram()
plot the correct trend with reasonable energy amplitudes, regardless of the resolution which is related to the algorithm of the two methods. Fig. 4. shows the comparison between q-plot and spectrogram.
According to this reference, q-transform gets the optmal descripion of the waveform. However it doesn’t work on the code. I would like to ask what is the problem of using q-transform?
I’ll be in the workshop on 4/19 and 4/20, and I’ll be very grateful for both online or in person discussions.