scottprahl / miepython

Mie scattering of light by perfect spheres
MIT License
164 stars 56 forks source link

extinction smaller than backscatter at a large size parameter and a large refractive index #15

Closed bchen112 closed 3 years ago

bchen112 commented 3 years ago

problem:

extinction is smaller than backscatter at certain size parameters

import numpy as np
import miepython
import sys

for i in np.arange(1.01, 10, 0.01):
    qext, qsca, qback, g = miepython.mie(i, np.pi)
    if qback>qext:
        print(i)
        sys.exit()