-
-
July 10, 2024 at 10:34 amuzmayaqoob1960Subscriber
Please let me know how we would have to make settings in monitor for multiple frequencies which are not equally spaced.I have found custom settings where i am providing 4 different frequencies but these are manual settings ,which is not viable if we are using multiple number of monitors.If we are having frequency analysis group which helps to make monitor settings at once then what kind of scripts line we have to write in analysis group script as attached hereby where the given script basically allows 4 equally spaced frequency points.And just by testing analysis group we can add multiple monitors at once without going through manual settings .Figure is attached hereby for referenceÂ
-
July 11, 2024 at 7:35 amAmrita PatiAnsys Employee
Hi Uzma,
You may use something like this in the analysis group:
n_mon = 5;
freq = [500,800,900,1200]*1e12;
for (i=1:1:n_mon)
{
addpower;
set("name","monitor_"+num2str(i));
set("override global monitor settings",true);
set("sample spacing","custom");
set("custom frequency samples",freq);
}Â
I just used the above code in the analysis group directly and it seems to be working, but you may paramterize some of the variables for more convenient usage.
Â
Regards,
Amrita
-
- The topic ‘Monitor settings( for randomly spaced frequencies)’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- How to measure transmission coefficients on a given plane .
-
1507
-
599
-
597
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.