-
Notifications
You must be signed in to change notification settings - Fork 30
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
laterally graded thicknesses #155
Comments
Hi, |
Thanks for your reply,I found what it means in the docs.So may I set the laterally graded multilayer directly in xrtQook by commenting or uncommenting codes?Or I need to wirte codes myself to set it. |
If you want it in xrtQook then it's a bit harder. You have to create a derived class of Multilayer yourself where you implement the methods |
OK,that's too difficult for me.So how I can directly use 'get_t_thickness'.If I use gradedMultilayer,the codes are'gradedMultilayer02 = rmats.GradedMultilayer( |
It is not you who uses the method, xrt uses it. You create it. |
So in which program(.py) should I modify the code to implement laterally graded thicknesses. |
You should subclass Multilayer from |
I write the code |
How do you want to define the graded thickness? How does it change in space as a function of x and y? |
The laterally graded multilayer consists of two materials and their thickness only varies with x,so no matter where the laser hits, it can have a high reflectivity.There is a function between x and thickness.So do I need to write complex computational relationships between them as part of the code?Or just modify parts of depth graded multilayer's code. |
You need to implement this dependence inside the two methods |
Okay, so how does the depth gradient multilayer set up the function between x and depth? I would like to refer to it to set up the lateral gradient multilayer. |
If I understand your question correctly (I am not sure about it) then my first reply in this thread is the answer to it. |
I know the function'get_b_thickness(x, y, iPair)' and what each parameter represents,but how can I use it in my python program.For example, my lateral gradient multilayer goes from 30nm to 20nm, and there are 100 pairs.I mean what exactly is the code to use 'get_b_thickness(x, y, iPair)'and 'get_t_thickness(x, y, iPair)'. |
Any reason why somebody should code for you? |
One such reason could be your will to share experimental data that you're trying to model. Another reason for me could be in seeing that this study is a part of a bigger and attractive project. |
Hi,
Depth graded multilayer can be set by xrtQook easily,but xrtQook says that'If you need laterally graded thicknesses, modify get_t_thickness and/or get_b_thickness in a subclass.'
My question is how to set the laterally graded multilayer.I don't know how to'modify get_t_thickness and/or get_b_thickness in a subclass'
The text was updated successfully, but these errors were encountered: