Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating objects

readnportsparameterat

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

Interpolates the S-Parameter sweep file with the specified parameter values.

 

Supported Product: INTERCONNECT

 

Syntax

Description

M = readnportsparameterat("coupler_s_parameter_sweep.txt", sweep_param)

Interpolates the S-Parameter sweep file with the specified parameter values.

coupler_s_parameter_sweep.txt: S-Parameter sweep file

sweep_param: specified sweep parameters, usually in the format of a matrix

 

Example

The following script interpolates the S-Parameter file "coupler_s_parameter_sweep.txt" with the specified parameters that defined in a matrix named "sweep_param". Then this interpolated s-parameter can be assigned to a s-parameter element.

sweep_param = matrix( 3 );

sweep_param(1)=radius;

sweep_param(2)=Lc;

sweep_param(3)=gap;

?M = readnportsparameterat("coupler_s_parameter_sweep.txt", sweep_param );

 

See Also

convertnportsparametersweep

 

Copyright Lumerical Inc. | Privacy | Site Map