Skip to content

Commit

Permalink
#83 Use numpy.float64 instead of deprecated numpy.float
Browse files Browse the repository at this point in the history
  • Loading branch information
astropenguin committed Apr 13, 2024
1 parent b5bbb96 commit 73f284a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deshima_sensitivity/atmosphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 73f284a

Please sign in to comment.