Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating objects

importsurface2

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

Imports surface data from script variables. This command only applies to import primitives. The function returns 1 if the data is successfully imported. Example script files showing how to use these functions can be found in the Online Help. See the User Guide, Structures section.

 

Supported Product: FDTD, MODE

 

Syntax

Description

out = importsurface2(Z,x,y,upper_surface);

Import a surface from the variables Z, x and y in three dimensional simulations. The upper_surface argument is optional.

 

Parameter

Default value

Type

Description

Z

required

matrix

The two dimensional matrix that defines the surface.

x

required

matrix

If Z is an NxM matrix, then x should have dimension Nx1. For two dimensional simulation, if Y is an Nx1 matrix then x should have dimension Nx1.

y

required

matrix

If Z is an NxM matrix, then y should have dimension Mx1.

upper_surface

1

number

This optional argument should be 1 to import the upper surface and 0 to import the lower surface.

Y

required

matrix

This argument should be an Nx1 matrix that defines the surface for two dimensional simulations.

 

Example

please refer a complete example: Import object - Spatial (n,k) data

 

See Also

Manipulating objects, importsurface

Copyright Lumerical Inc. | Privacy | Site Map