class xpipeline.core.xfrequencyseries.XFrequencySeriesDict[source]

Bases: collections.OrderedDict

calculate_magnitude(self)[source]

Matrix M_AB components.

This is the dot product of the projected_asds, with itself, summed accross detectors.

Returns:
gwpy.frequencyseries.FrequencySeries

Units Hz

project_onto_antenna_patterns(self, antenna_responses, to_dominant_polarization_frame=False, circular=True)[source]

Shift timeseries by assosciated time delay

Parameters

antenna_responses : dict

key-wise pair of OrderedDict([(‘f_plus’,

OrderedDict([(‘H1’, array([-0.02424373])),

(‘L1’, array([0.3089992]))])),

(‘f_cross’,
OrderedDict([(‘H1’, array([-0.5677237])),

(‘L1’, array([0.52872644]))])),

(‘f_scalar’,
OrderedDict([(‘H1’, array([0.12427263])),

(‘L1’, array([-0.30016348]))]))])

to_dominant_polarization_frame ” `bool`

This boolean determines whether or not to calculate the relevant angle parameter that would project the data into the orthogonal cross plus polarization frame.

slice_frequencies(self, indices)[source]

select a subset of frequencies from XFrequencySeriesDict

Parameters:
indices (array):

an array of indexs to select from all elements of XFrequencySeriesDict

Returns:

XFrequencySeriesDict

to_array(self)[source]

Convert to number of freq bins by number of detectors array

class xpipeline.core.xfrequencyseries.XAntennaProjectedFrequencySeriesDict[source]

Bases: collections.OrderedDict

Controls a dictionaries of projected asds

calculate_magnitude(self)[source]

Find unit vector of a series of asds

Returns:

XAntennaProjectedFrequencySeriesDict

to_circular(self)[source]

Find unit vector of a series of asds

Returns:

XAntennaProjectedFrequencySeriesDict

to_unit(self)[source]

Find unit vector of a series of asds

Returns:

XAntennaProjectedFrequencySeriesDict

xpipeline.core.xfrequencyseries.convert_to_dominant_polarization_frame(Fp, Fc)[source]

Take in stream of fplus and ≈f_cross and convert to DPF

DPF is the Dominant Polarization Frame

Parameters

Fp : float

Fc : float