July2025updates #17

Merged
asia merged 14 commits from July2025updates into master 2025-07-08 14:49:32 +02:00
Showing only changes of commit 70c08f47ab - Show all commits

View File

@ -166,10 +166,9 @@ verbose: {verbose}")
lon = np.delete(lon, indices) 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 # 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: if m_max == None:
m_max = mag.max() + 1.0 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() start = timer()
t_windowed, r_windowed = win_CNE(time, [lon, lat, mag], win_size=len(mag), win_overlap=0, min_events=1) t_windowed, r_windowed = win_CNE(time, [lon, lat, mag], win_size=len(mag), win_overlap=0, min_events=1)