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
According to the documentation, the function AutoMieQ should give the possibility to automatically switch to the Rayleigh approximation when x = pi*diameter/wavelength is below a given threshold. However, to my understanding, the function MieQ overrides this threshold if it is below 0.05 :
Hello,
According to the documentation, the function
AutoMieQ
should give the possibility to automatically switch to the Rayleigh approximation whenx = pi*diameter/wavelength
is below a given threshold. However, to my understanding, the functionMieQ
overrides this threshold if it is below 0.05 :PyMieScatt/PyMieScatt/Mie.py
Lines 22 to 23 in d075b44
From the documentation, I wouldn't even expect the two lines above to be in the
MieQ
function.Also, I found that a threshold of 0.05 sometimes leads to significant errors.
The text was updated successfully, but these errors were encountered: