Skip to content
Snippets Groups Projects
Commit 8c3ef725 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

reference_psd.py: edit a comment

- replace reference to pylal's documentation with reference to lal's
parent 5a41288b
No related branches found
No related tags found
No related merge requests found
......@@ -331,13 +331,12 @@ def effective_distance_factor(inclination, fp, fc):
def psd_to_fir_kernel(psd):
"""
Compute an acausal finite impulse-response filter kernel from a power
spectral density conforming to the LAL normalization convention,
such that if zero-mean unit-variance Gaussian random noise is fed
into an FIR filter using the kernel the filter's output will
possess the given PSD. The PSD must be provided as a
REAL8FrequencySeries object (see
pylal.xlal.datatypes.real8frequencyseries).
Compute an acausal finite impulse-response filter kernel from a
power spectral density conforming to the LAL normalization
convention, such that if zero-mean unit-variance Gaussian random
noise is fed into an FIR filter using the kernel the filter's
output will possess the given PSD. The PSD must be provided as a
REAL8FrequencySeries object (see lal's swig binding documentation).
The return value is the tuple (kernel, latency, sample rate). The
kernel is a numpy array containing the filter kernel, the latency
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment