Update src/seismic_hazard_forecasting.py

This commit is contained in:
ftong 2025-06-30 18:18:36 +02:00
parent b822019942
commit 4aef02a31e

View File

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from datetime import timedelta, datetime
import numpy as np
def datenum_to_datetime(datenum):
# MATLAB epoch starts at year 0, Python's datetime starts at year 1