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

Incorrect handling of lossy materials #1

Open
kitchenknif opened this issue Jul 4, 2017 · 2 comments
Open

Incorrect handling of lossy materials #1

kitchenknif opened this issue Jul 4, 2017 · 2 comments

Comments

@kitchenknif
Copy link
Owner

@MK8J
Let's move this over to the relevant project :)

BTW - The files did not get attached for some reason.
Pavel

Hey Mikhail,

Everything looks great. Thanks for the efforts!

On the scripts you have attached to the github, I think,
https://github.com/kitchenknif/PyTMM, might not properly take into account
the extinction coefficient. There is an implementation that does here
https://pypi.python.org/pypi/tmm.

Mattias

Hi Mattias,
Hmm.
I wasn't sure if the way I had implemented complex refractive indices in PyTMM was correct, but couldn't think of any quick way of checking... If you have an example that definitely shows incorrect behaviour, I would really appreciate it.

That being said,
https://github.com/kitchenknif/PyATMM
Should handle complex refractive indices correctly, and can also work with anisotropic (uniaxial) materials, but is a bit more complex.

Hey Pavel,

I wouldn't rule at user error yet . See below is my attempt at comparing 3
TMM implementations.

I compared a stack of a-Si [272 nm] and Si [infinite], optical constants
shown below. So layers without k, I got good agreement between all
models.
Zip below containing everything required.

i did simulations at 0 deg, so polarization doesn't matter.

pyTMM seems to do some where stuff, giving over 100% transmission.

Yeah I has a look at pyATMM, and put it in the to hard basket for now. I'm
only dealing with isotropic materials.

Mattias

@MK8J
Copy link

MK8J commented Jul 4, 2017

Files take 2

Transferm Martix method.zip

@kitchenknif
Copy link
Owner Author

Hmm.
Thanks for pointing this out, will look at it.

@kitchenknif kitchenknif changed the title Possibly incorrect handling of lossy materials Incorrect handling of lossy materials Jul 10, 2017
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

2 participants