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

Backside and front side multilayer absorption #154

Open
toutsec opened this issue Feb 7, 2024 · 4 comments
Open

Backside and front side multilayer absorption #154

toutsec opened this issue Feb 7, 2024 · 4 comments

Comments

@toutsec
Copy link

toutsec commented Feb 7, 2024

Hi,
I may be wrong, but the example of the front/back multilayer doesn't seem logical to me.
In both cases, you have differential absorption. And yet, for the backside calculation, the result gives 0% absorption.
This is not consistent. I am able to reproduce this bug. I would guess that there is an issue in the get_multilayers_absorption_profile function (obviously) where you introduced the backside boolean.

Thanks for the software!

image
udkm1Dsim-2.0.0

@dschick
Copy link
Owner

dschick commented Feb 13, 2024

Hi @toutsec ,

Thanks a lot for finding this mistake.

I think the problem must be related to this part here:

opt_ref_indices[0] = 1+0.0j

For most samples you do not care about the last interface, typically from the substrate to air or something else.
So in the code, I only introduce an air/vacuum layer as the first medium but not as a last medium.
For the backside excitation with transparent substrates, this become relevant I guess.

Would you be willing to help testing some new versions solving this issue?

@toutsec
Copy link
Author

toutsec commented Feb 13, 2024

Hi Daniel,
Yeah sure I can test new version, no problem.
I have also a personal code to backtest yours (or backtest mine).
Best

@dschick
Copy link
Owner

dschick commented Feb 13, 2024

Great, actually, I have already started to implement a more general matrix-formalism for optical simulations, based on pyGTM, see #97

This formalism could not only be used for scatting simulations but also for calculating the laser absorption in the heat class.
However, the main issue was also to transparently handle super- and substrates.
So maybe this is a good point to also work on that part.

May I ask what your background is and what you want to use the simulations for?

@toutsec
Copy link
Author

toutsec commented Mar 4, 2024

I am one of the author of Gu and al (Science advances, 2023 https://www.science.org/doi/10.1126/sciadv.adi1160 ) where I did the simulation of the phonons propagation in BiFeO3 with the help of your software.
I'm doing experiments that require a comparison between backward and forward pumping.

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