Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Near to far field projections

farfieldvector2d

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

Projects a given power or field profile monitor to the far field to a 1 meter radius semi-circle. This is similar to the farfield2d script command except the complex electric fields are returned, rather than field intensity. The data is returned as matrix of NxP if one frequency point is projected, or NxPx3 when multiple frequency points are projected where N is the resolution of the far field projection, P is the number frequency points projected, and the last index refers to Ex, Ey and Ez which are the complex components of the electric field vector in Cartesian coordinates.

 

Supported Product: FDTD, MODE

 

Syntax

Description

out = farfieldvector2d( "mname",...);

Returns the Cartesian complex electric fields. Same arguments as farfield2d.

 

Example

This example plots the amplitude of the Ex component of the far field projection of a 1D monitor called "monitor". In this example the second frequency point is projected. If the monitor only contains data at one frequency, the second argument is not required.

 

E=farfieldvector2d("monitor",2,501);

Ex = abs(pinch(E,2,1)); # amplitude of Ex

theta=farfieldangle("monitor",2,501);

plot(theta,Ex,"angle (deg)","Ex far field"); 

 

For additional examples see Far field projection toolbox.

 

See Also

Near to far field projections, farfield2d, farfieldpolar2d, farfieldangle

Copyright Lumerical Inc. | Privacy | Site Map