miepython icon indicating copy to clipboard operation
miepython copied to clipboard

Scattering phase matrix

Open nollety opened this issue 3 years ago • 2 comments

Hi @scottprahl and thank you for a very useful Python package!

I noticed a method, mie_S1_S2, to compute the scattering amplitude functions, but no method to compute the scattering phase matrix (perhaps I miss it?) and I was wondering if this would be a feature that you'd be willing to have included in miepython?

In my application (radiative transfer for Earth observation), the knowledge of the scattering phase matrix lets one take polarisation into account, which is a significant improvement compared to unpolarised computations. But I don't know if this is something relevant for your application? From my understanding, deriving the scattering phase matrix from the scattering amplitude funtions is straightforward (e.g. with eqs. 5.2.105-6 in K. N. Liou (2002) - An Introduction to Atmospheric Radiation, Second Edition). If you are interested, I could prepare a pull request. :smiley:

nollety avatar Aug 17 '22 14:08 nollety

@nollety A function to return a scattering matrix would be great --- it was on my todo list. I would be happy to review and accept a pull request. Ideally accompanied by a few tests.

scottprahl avatar Aug 27 '22 16:08 scottprahl

Great, I'll be working on it then!

nollety avatar Aug 30 '22 13:08 nollety

did you complete this by chance?

scottprahl avatar May 18 '23 23:05 scottprahl

I see, you started a pull request. I will close this issue now.

scottprahl avatar May 18 '23 23:05 scottprahl

did you complete this by chance?

Unfortunately no, I got stuck at the tests step ; I don't have reference scattering phase matrix data (with corresponding microphysical input parameters) that I could use for testing purposes. This is still on my to do list but I have struggled to find time to allocate to that, hopefully I'll find the test data soon!

nollety avatar May 22 '23 16:05 nollety