From 42072ed7540100691b2fc32d20ee4a71787de00c Mon Sep 17 00:00:00 2001 From: Akio Taniguchi Date: Wed, 16 Oct 2024 11:44:37 +0000 Subject: [PATCH] #85 Use numpy.float64 instead of deprecated numpy.float --- deshima_sensitivity/atmosphere.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deshima_sensitivity/atmosphere.py b/deshima_sensitivity/atmosphere.py index bb874af..7d83dcc 100644 --- a/deshima_sensitivity/atmosphere.py +++ b/deshima_sensitivity/atmosphere.py @@ -119,7 +119,7 @@ def eta_atm_interp(eta_atm_dataframe: pd.DataFrame) -> Callable: etafun = desim.eta_atm_interp(eta_atm_df) """ - x = np.array(list(eta_atm_dataframe)[1:]).astype(np.float) + x = np.array(list(eta_atm_dataframe)[1:]).astype(np.float64) y = eta_atm_dataframe["F"].values z = eta_atm_dataframe.iloc[:, 1:].values return interp2d(x, y, z, kind="cubic")