I am using the tool
q_transform from pycbc to transforms the time series signal into a frequency-time plot and I am stuck with the following -
- how does changing q values affect the plot or what is the significance of the range of q values? (I tried various q ranges to be able to see the signal in the plot below but I was unable to spot it)
- I do not understand how to read the x-axis with the UTC time. For example, in the following plot, if I want to narrow my window to 5.6s - 6.4s, how do I format the outseg argument?
Hi! Thank you for your question!
Are you using the
q_transform from pycbc or gwpy?
- The q-value should correspond to the number of cycles in the LIGO band. You can see some notes in the following places:
quickview app - Click “see notes” under the q-transform plot.
- For pycbc, you could try something like the code below.
gwpy, you might look instead at the Quickview notebook
t0 = 1204
data = pycbc_strain.time_slice(t0-10, t0+10)
times, freqs, power = data.qtransform(.001, logfsteps=100,
plt.pcolormesh(times, freqs, power**0.5)
I am using q_transform from gwpy (apologies for the incorrect statement earlier). Thank you for the resources, they were helpful.