gwBOB.convert_to_strain_using_series module

gwBOB.convert_to_strain_using_series.generate_strain_from_news_using_series(BOB, N=2)[source]

Generate the strain from the news using the series approximation described in Kankani and McWilliams (2025) for t0 = -inf scenarios

Parameters:
  • BOB (BOB) – The BOB object containing the time series and parameters.

  • N (int, optional) – The number of terms in both the inner and outer series. Default is 2.

Returns:

  • t (numpy array) – The time array.

  • h (numpy array) – The strain time series. The conjugate of the complex valued array is taken for consistency with SXS.

gwBOB.convert_to_strain_using_series.generate_strain_from_news_using_series_finite_t0(BOB, N=2)[source]

Generate the strain from the news using the series approximation described in Kankani and McWilliams (2025) for finite t0 scenarios.

Parameters:
  • BOB (BOB) – The BOB object containing the time series and parameters.

  • N (int, optional) – The number of terms in both the inner and outer series. Default is 2.

Returns:

  • t (numpy array) – The time array.

  • h (numpy array) – The strain time series. The conjugate of the complex valued array is taken for consistency with SXS.

gwBOB.convert_to_strain_using_series.generate_strain_from_psi4_using_series(BOB, N=2)[source]

Generate the strain from psi4 using the series approximation described in Kankani and McWilliams (2025) for t0 = -inf scenarios. This is generally a suboptimal approach for psi4->strain but is included for testing.

Parameters:
  • BOB (BOB) – The BOB object containing the time series and parameters.

  • N (int, optional) – The number of terms in both the inner and outer series. Default is 2.

Returns:

  • t (numpy array) – The time array.

  • h (numpy array) – The strain time series. The conjugate of the complex valued array is taken for consistency with SXS.

gwBOB.convert_to_strain_using_series.generate_strain_from_psi4_using_series_finite_t0(BOB, N=2)[source]

Generate the strain from the psi4 using the series approximation described in Kankani and McWilliams (2025) for finite t0 scenarios. This is generally a suboptimal approach for psi4->strain but is included for testing.

Parameters:
  • BOB (BOB) – The BOB object containing the time series and parameters.

  • N (int, optional) – The number of terms in both the inner and outer series. Default is 2.

Returns:

  • t (numpy array) – The time array.

  • h (numpy array) – The strain time series. The conjugate of the complex valued array is taken for consistency with SXS.