Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Saving delta of two field profile monitors › Reply To: Saving delta of two field profile monitors
September 15, 2022 at 3:36 pm
Guilin Sun
Ansys Employee
"the saved .mat file just reverts back to one of the two original field monitors"
Do you mean the dataset EM shows one of the original monitor data? or other data?
I did not find anything wrong with the script. Please clear the data, and save it again. You can use Visualizer to check them before saving: https://optics.ansys.com/hc/en-us/articles/360034929873-addattribute-Script-commandÂ
Just curious, do the two monitors record data at different wavelength? otherwise for the same simulaiton file, no need to use two different monitors exactly at the same location with same size.