Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addprofile

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Adds a frequency domain field profile monitor to the simulation environment.  Unlike the 'field and power' monitor, the 'profile' monitor does not snap to the nearest mesh cell and uses interpolation to record the data exactly where the monitor is located.  This can be useful in a few situations, but the extra interpolation required can slightly reduce the accuracy of the data. In most situations, we recommend using the 'field and power' monitor.

 

Supported Product: FDTD, MODE

 

Syntax

Description

addprofile;

Adds a field profile monitor to the simulation environment.

This function does not return any data.

 

Example

The following script commands will add a 2D z-normal frequency domain field profile monitor to the simulation region and set its dimension.

addprofile;

set("name","field_profile");

set("monitor type",7);  # 1 = point, 2 = linear x, 3 = linear y, 4 = linear z, 5 = 2D x-normal, 6 = 2D y-normal, 7 = 2D z-normal, 8 = 3D

set("x",0);

set("x span",5e-6);

set("y",0);

set("y span",5e-6);

set("z",0);

 

See Also

Adding Objects, set, addpower

Copyright Lumerical Inc. | Privacy | Site Map