add spectrogram during data generation
!147 (merged) to be completed.
NOTE: RequiresSummary
Add GWpy spectograms during data_generation
if create_plots=True
.
- Creates plots for H1 L1 PSDs and data segment.
- Labels files based on the duration of data plotted.
- Allows GWpy to determine
xlim
andylim
. - If injection inserted, plots made before and after injection.
Examples of plots
Current issues with plots
Strain data needs to be bandpassed
Not sure of bandpassing that can generally apply to all strain data.
q-transform plot needs to have lower y-lim
Currently cant reduce the freq ylim for the 4-second duration. If ylim
manually reduced, the plot is just blank below the default ylim. The freq ylim can be reduced if more data (start time - 10, end time +10) is acquired. Then during plotting the plot will not be blank if the freq ylim is reduced.
However, this will require an extra gwpy DataFetch
call (which is slow).
Edited by Avi Vajpeyi