pygmm.baker_jayaram_2008.calc_cond_mean_spectrum¶
- pygmm.baker_jayaram_2008.calc_cond_mean_spectrum(periods: ~typing.Union[~typing.List[float], ~numpy.ndarray], ln_psas: ~typing.Union[~typing.List[float], ~numpy.ndarray], ln_stds: ~typing.Union[~typing.List[float], ~numpy.ndarray], period_cond: float, ln_psa_cond: float) -> (<class 'numpy.ndarray'>, <class 'numpy.ndarray'>)[source]¶
Conditional mean spectrum by Baker & 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.