psd#

gwpy.signal.spectral.psd(
timeseries: TimeSeries | tuple[TimeSeries, TimeSeries],
method_func: Callable,
*args,
**kwargs,
) FrequencySeries[source]#

Generate a PSD using a method function.

All arguments are presumed to be given in physical units

Parameters:
timeseriesTimeSeries, tuple

the data to process, or a 2-tuple of series to correlate

method_funccallable

the function that will be called to perform the signal processing

*args, **kwargs

other arguments to pass to method_func when calling