Update src/seismic_hazard_forecasting.py
This commit is contained in:
parent
b822019942
commit
4aef02a31e
@ -1,5 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from datetime import timedelta, datetime
|
from datetime import timedelta, datetime
|
||||||
|
import numpy as np
|
||||||
|
|
||||||
def datenum_to_datetime(datenum):
|
def datenum_to_datetime(datenum):
|
||||||
# MATLAB epoch starts at year 0, Python's datetime starts at year 1
|
# MATLAB epoch starts at year 0, Python's datetime starts at year 1
|
||||||
|
Loading…
Reference in New Issue
Block a user