TAGGED: lumerical, lumerical-script, scripting
-
-
January 19, 2024 at 9:51 pm
Joseph McElroy
SubscriberIs there a script command equivalent to clicking Check > Material Explorer, and then within that, "Fit and plot"?Â
-
January 25, 2024 at 9:19 am
Dimitris Polyzos
Ansys EmployeeHello Joseph,Â
I am not sure that there is a specific script command that access directly through Check>Material. However you can use these commands to manipulate a material:
- Â setmaterial - Script command
- getmaterial - Script command
- addmaterial - Script command
- deletematerial - Script command
- importmaterialdb - Script command
Then you can use the following commands such as:Â ?setmaterial("SiO2 (Glass) - Palik"); and adjust them accordinlgy to the best fit for your material.
?setmaterial("SiO2 (Glass) - Palik");
name
mesh order
color
anisotropy
type
tolerance
max coefficients
make fit passive
improve numerical stability
imaginary weight
specify fit range
wavelength min
wavelength max
frequency min
frequency max
sampled 3d dataAt last, an alternative it would be to fit your material data in a different tool, such as matlab, and import the fitting data in Lumerical's material base.
I hope I helped.
Kind regards
Dimitris
-
January 25, 2024 at 9:37 am
Dimitris Polyzos
Ansys EmployeeHello Joseph,Â
I forgot to share with you a link that you will find useful :Tips-for-improving-the-quality-of-optical-material-fits
-
- The topic ‘script command for opening Material Explorer’ is closed to new replies.
-
3387
-
1052
-
1050
-
886
-
852
© 2025 Copyright ANSYS, Inc. All rights reserved.