add info msg about m_max

This commit is contained in:
ftong 2025-07-07 14:49:35 +02:00
parent 60ae1c96cd
commit 70c08f47ab

View File

@ -166,10 +166,9 @@ verbose: {verbose}")
lon = np.delete(lon, indices)
# if user does not provide a m_max, set m_max to 1 magnitude unit above max magnitude in catalog
logger.info(f"mag max of catalog is: {mag.max()}")
if m_max == None:
m_max = mag.max() + 1.0
logger.info(f"m_max is: {m_max}")
logger.info(f"No m_max was given. Therefore m_max is automatically set to: {m_max}")
start = timer()
t_windowed, r_windowed = win_CNE(time, [lon, lat, mag], win_size=len(mag), win_overlap=0, min_events=1)