range_timeseries#
- gwpy.astro.range_timeseries(
- hoft: TimeSeries | Spectrogram,
- stride: float | None = None,
- fftlength: float | None = None,
- overlap: float | None = None,
- window: str | numpy.ndarray = 'hann',
- method: str = 'median',
- nproc: int = 1,
- range_func: Callable | None = None,
- **rangekwargs,
Estimate timeseries of astrophysical range (Mpc).
- Parameters:
- hoft
TimeSeries,Spectrogram Detector (strain) data from which to estimate range.
- stride
float, optional Desired step size (seconds) of range timeseries, required if
hoftis an instance ofTimeSeries.- fftlength
float, optional Number of seconds in a single FFT.
- overlap
float, optional Number of seconds of overlap between FFTs, defaults to the recommended overlap for the given window (if given), or
0.- window
str,numpy.ndarray, optional Window function to apply to timeseries prior to FFT, see
scipy.signal.get_window()for details on acceptable formats.- method
str, optional FFT-averaging method, defaults to median averaging, see
spectrogram()for more details- nproc
int, optional number of CPUs to use in parallel processing of FFTs, default: 1
- range_func
callable, optional the function to call to generate the range for each stride, defaults to
inspiral_rangeunlessenergyis given as a keyword argument to the range function- **rangekwargs
dict, optional additional keyword arguments to
burst_range()orinspiral_range()(see “Notes” below), defaults to inspiral range withmass1 = mass2 = 1.4solar masses
- hoft
- Returns:
- out
TimeSeries timeseries trends of astrophysical range
- out
See also
gwpy.timeseries.TimeSeries.spectrogramfor the underlying power spectral density estimator
inspiral_rangefor the function that computes inspiral range
burst_rangefor the function that computes burst range
range_spectrogramfor a
Spectrogramof the range integrand
Notes
This method is designed to quantify a gravitational-wave detector’s sensitive range as a function of time. It supports the range to compact binary inspirals and to unmodelled GW bursts, each a class of transient event.