User defined figure of merit (FOM) script

fdtd

#1

Hi,

I’ve been using the user defined script in order to generate my FOM for optimization.
As far as I can tell, this feature only allows me to use simulation results such as transmission and field data from monitors as variables for defining my FOM. Is there a way to use other types of data?
For instance, lets say that I’m changing some object’s thickness as part of my optimization process and I want the obtained (random) thickness to go inside my FOM (after each optimization run). Is there a way of doing that?

Thanks.


#2

It should be possible to do what you described. The idea is that you can pre-process some data, using an analysis group, before you send it to the optimization tool. This post has an example to show a similar idea.