You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, your xrt software is very good, especially in the multilayer simulation gave me a lot of help, but I found that I can not simulate non-periodic multilayers in the process of using, how can I simulate, or can you add this function, I think it is very useful for most researchers!
The text was updated successfully, but these errors were encountered:
Hi,
This functionality is already there. Subclass from Multilayer and override its methods get_b_thickness() and get_t_thickness() as needed. These two thicknesses can vary in all three dimensions.
Thank you very much, do you mean that when I generate the code through the “generate python script” function in xrtQook, I can add “get_b_thickness” to the code and modify the original multilayer part, or do I just modify the “get_b_thickness” subfunction in “material.py or do I just modify the “get_b_thickness” subfunction of “material.py” to do so?
A much cleaner way of overriding class methods is not doing it in place in the original library but in a user module that imports that library.
xrtQook wasn't prepared for importing custom materials, only custom optical elements were possible. Now I've also enabled custom materials, see here. You need to update xrt from GH.
Hello, your xrt software is very good, especially in the multilayer simulation gave me a lot of help, but I found that I can not simulate non-periodic multilayers in the process of using, how can I simulate, or can you add this function, I think it is very useful for most researchers!
The text was updated successfully, but these errors were encountered: