lisa_noise.modelled.response¶
Effect of the data conditioning (filter and decimation) on the covariance.
MojitoProcessor filters the Level-1 streams (zero-phase Butterworth) and
optionally decimates them (scipy.signal.resample_poly) before they are cut
into segments. On a stationary process this multiplies the covariance by a
real factor, the same for every channel:
R(f) = |H_filter(f)|⁴ · |H_decimation(f)|²
and the decimation to fs_out folds the power above fs_out / 2 back
into the band:
C_data(f) = Σ_k R(|f + k fs_out|) · C(|f + k fs_out|)
with C(−f) = conj C(f). The filters are rebuilt with scipy from the
settings recorded in the processed file
(lisa_noise.io.read.read_processing_kwargs()).
Attributes¶
Classes¶
A covariance model seen through the conditioning. |
Functions¶
|
Second-order sections of the high-pass, low-pass or band-pass filter. |
|
Anti-alias FIR taps and |
|
|
|
Nonzero |
Module Contents¶
- lisa_noise.modelled.response.ALIAS_TOL = 1e-08¶
- lisa_noise.modelled.response.FILTER_DESIGNS¶
- lisa_noise.modelled.response.filter_sos(fs_in: float, highpass_cutoff: float | None = None, lowpass_cutoff: float | None = None, order: int = 2, filter_type: str = 'butterworth') numpy.ndarray¶
Second-order sections of the high-pass, low-pass or band-pass filter.
- lisa_noise.modelled.response.decimation_taps(fs_in: float, target_fs: float, kaiser_window: float, numtaps: int | None = None) tuple[numpy.ndarray, int, int]¶
Anti-alias FIR taps and
(up, down), asresample_polydesigns them.
- lisa_noise.modelled.response.conditioning_response(freq: numpy.ndarray, processing: dict[str, Any]) numpy.ndarray¶
R(f)at the Level-1 rate; zero above the Level-1 Nyquist frequency.
- lisa_noise.modelled.response.alias_offsets(processing: dict[str, Any]) list[int]¶
Nonzero
kfor which|f + k fs_out|can lie belowfs_in / 2.Empty without a decimation.
- class lisa_noise.modelled.response.ConditionedModel(make_model: Any, freq: numpy.ndarray, processing: dict[str, Any], xp: Any = np, seeds: Any = ())¶
A covariance model seen through the conditioning.
- Parameters:
make_model (callable) –
make_model(freq)returns amodel(freq, params) -> (Nf, 3, 3)bound tofreq; called forfreqand once per alias order.freq ((Nf,) array) – Frequencies in Hz, within
[0, fs_out / 2]. A DC row stays zero.processing (dict) – Conditioning record, see
lisa_noise.io.read.read_processing_kwargs().xp (module, optional) –
numpyorjax.numpy.seeds (sequence of arrays, optional) – Parameter vectors at which negligible alias orders are found and dropped (see
ALIAS_TOL). Without them every order is kept.
- name = 'response'¶
- inner¶
- info¶
- describe() str¶
One-line summary for the log.