pygmm.baker_jayaram_2008.calc_cond_mean_spectrum¶
- pygmm.baker_jayaram_2008.calc_cond_mean_spectrum(periods, ln_psas, ln_stds, period_cond, ln_psa_cond)[source]¶
Conditional mean spectrum by Baker & Jayaram (2008, [Baker and Jayaram, 2008]).
- Parameters:
periods (array_like) – Response spectral periods.
ln_psas (array_like) – Natural logarithm of the 5%-damped spectral accelerations.
ln_stds (array_like) – Logarithmic standard deviations.
period_cond (float) – Conditioning period. This period does not need to be included in periods.
ln_psa_cond (float) – Natural logarithm of the response at the conditioning period.
- Returns:
ln_psas_cms (
np.ndarray) – Natural logarithm of the conditional mean spectral accelerations.ln_stds_cms (
np.ndarray) – Logarithmic standard deviation of the conditional mean spectral acceleration.
- Return type:
(<class ‘numpy.ndarray’>, <class ‘numpy.ndarray’>)