We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In many runs, the RuntimeWarning often appear.
the RuntimeWarning disappears.
D:\mtpywin\mtpy\mtpy\utils\calculator.py:371: RuntimeWarning: invalid value encountered in double_scalars z_rel_err = error/z_amp
It is often displayed on the monitor.
# Paste your code here #import os from mtpy.modeling.modem import PlotResponse #working directory and save path wd='D:/mtpywin/mtpy/examples/model_files/ModEM_2' savepath='D:/mtpywin/tmp' respfn='Modular_MPI_NLCG_004.dat' datafn='ModEM_Data.dat' ro=PlotResponse(data_fn=os.path.join(wd,datafn), resp_fn=os.path.join(wd,respfn), plot_type=['Synth02'], plot_style=1, plot_z=False, ) ro.plot() ro.save_figure(os.path.join(savepath,'response.jpg'),fig_dpi=350) #
print(matplotlib.get_backend())
Installed Python Packages: use pip freeze or conda list [-n ENVIRONMENT_NAME] to list all the installed libraries.
pip freeze
conda list [-n ENVIRONMENT_NAME]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In many runs, the RuntimeWarning often appear.
Expected Behavior
the RuntimeWarning disappears.
Current Behavior
D:\mtpywin\mtpy\mtpy\utils\calculator.py:371: RuntimeWarning: invalid value encountered in double_scalars
z_rel_err = error/z_amp
It is often displayed on the monitor.
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
print(matplotlib.get_backend())
):Installed Python Packages:
use
pip freeze
orconda list [-n ENVIRONMENT_NAME]
to list all the installed libraries.The text was updated successfully, but these errors were encountered: