change default m_max from 3 to 1 mag unit above max mag in catalog

This commit is contained in:
ftong 2025-07-02 15:33:42 +02:00
parent bc4d57a5ab
commit bd1ad26693

View File

@ -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()