You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "", line 1, in
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/plotting.py", line 66, in MDLF_simple
D2goal = spectrometer_sensitivity(**D2goal_input)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/simulator.py", line 359, in spectrometer_sensitivity
eta_atm = eta_atm_func(F=F_int, pwv=pwv, EL=EL)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/atmosphere.py", line 61, in eta_atm_func
eta_atm_func_zenith = eta_atm_interp(eta_atm_df)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/atmosphere.py", line 122, in eta_atm_interp
x = np.array(list(eta_atm_dataframe)[1:]).astype(np.float)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The text was updated successfully, but these errors were encountered:
File "", line 1, in
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/plotting.py", line 66, in MDLF_simple
D2goal = spectrometer_sensitivity(**D2goal_input)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/simulator.py", line 359, in spectrometer_sensitivity
eta_atm = eta_atm_func(F=F_int, pwv=pwv, EL=EL)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/atmosphere.py", line 61, in eta_atm_func
eta_atm_func_zenith = eta_atm_interp(eta_atm_df)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/deshima_sensitivity/atmosphere.py", line 122, in eta_atm_interp
x = np.array(list(eta_atm_dataframe)[1:]).astype(np.float)
File "/Users/tombakx/opt/anaconda3/lib/python3.9/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The text was updated successfully, but these errors were encountered: