gw.data.data_download.download_psd

gw.data.data_download.download_psd(det, time_start, time_psd, window, f_s)

Download strain data and generate a PSD based on these. Use num_segments of length time_segment, starting at GPS time time_start.

Parameters

Name Type Description Default
det detector required
time_start start GPS time for PSD estimation required
time_psd time in seconds for strain used for PSD generation required
window Window used for PSD generation, needs to be the same as used for Fourier transform of event strain data. Provided as dict, window is generated by window = dingo.gw.gwutils.get_window( **window). required
f_s sampling rate of strain data required

Returns

Name Type Description
psd np.array array of psd