Skip to content

Commit

Permalink
#88 Merge pull request from deshima-dev/astropenguin/issue85
Browse files Browse the repository at this point in the history
Use numpy.float64 instead of deprecated numpy.float
  • Loading branch information
astropenguin authored Oct 16, 2024
2 parents 4e4ac0a + 42072ed commit 9bb9d70
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 9bb9d70

Please sign in to comment.