pygwb.baseline

The Baseline module is by design the core of the pygwb stochastic analysis. Its main role is to manage the cross- correlation between Interferometer data products, combine these into a single cross-spectrum, which represents the point estimate of the analysis, and calculate the associated error.

The Baseline object relies on the pygwb.spectral module to calculate cross-correlations between the data streams. Similarly, it relies on the pygwb.postprocessing module to obtain the point estimate and its variance. Calculating these, as well as performing parameter estimation on the gravitational-wave background (GWB) spectrum, requires the two-detector overlap reduction function (ORF). The ORF is calculated using the pygwb.orfs module at Baseline object initialization, then stored as an attribute.

Examples

To show how a Baseline object can be instantiated, we start by importing the relevant packages:

>>> import numpy as np
>>> from pygwb.detector import Interferometer
>>> from pygwb.baseline import Baseline

For concreteness, we work with the LIGO Hanford and Livingston detectors, which we instantiate through:

>>> H1 = Interferometer.get_empty_interferometer("H1")
>>> L1 = Interferometer.get_empty_interferometer("L1")

The standard initialization of a Baseline object then simply requires a pair of Interferometer objects:

>>> H1L1_baseline = baseline.Baseline("H1-L1", H1, L1)

Functions

get_baselines(interferometers[, frequencies])

Get set of Baseline objects given a list of interferometers.

Classes

Baseline(name, interferometer_1, ...[, ...])