From bd1ad26693761f3a80098c4d0a4b957e4a1904ee Mon Sep 17 00:00:00 2001 From: ftong Date: Wed, 2 Jul 2025 15:33:42 +0200 Subject: [PATCH] change default m_max from 3 to 1 mag unit above max mag in catalog --- src/seismic_hazard_forecasting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index 8fae701..d0b0605 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -150,9 +150,9 @@ verbose: {verbose}") lat = np.delete(lat, indices) lon = np.delete(lon, indices) - # if user does not provide a m_max, set m_max to 3 magnitude units above max magnitude in catalog + # if user does not provide a m_max, set m_max to 1 magnitude unit above max magnitude in catalog if m_max == None: - m_max = mag.max() + 3.0 + m_max = mag.max() + 1.0 start = timer()