Skip to content
New issue

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

Runtime warning in core-shell calculation #23

Open
sampr7 opened this issue Aug 17, 2022 · 0 comments
Open

Runtime warning in core-shell calculation #23

sampr7 opened this issue Aug 17, 2022 · 0 comments

Comments

@sampr7
Copy link

sampr7 commented Aug 17, 2022

When the shell diameter becomes 114 times greater than that of wavelength, following runtime warning is arising and not calculating the extinction efficiencies and other parameters.
Input:
ps.MieQCoreShell(mCore = 1.62+0.45j, mShell=1.397+1.22e-06j, wavelength=250, dCore=2960, dShell=29600,asDict=True, asCrossSection=False)
Output:

/home/user/anaconda3/lib/python3.9/site-packages/PyMieScatt/CoreShell.py:105: RuntimeWarning: invalid value encountered in true_divide
dns = ((uufv/pw)/(uu(pw-chw*fv)+(pw/pv)/chv))+Dw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant