Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating variables


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

Unfolds data from a symmetric dataset based on a given plane of symmetry. This function is useful for obtaining the complete form of data from a symmetric simulation which only contains data from one half of the simulation. Only unstructured datasets are supported by this command.


Supported Product: DEVICE





Unfolds data from a symmetric dataset based on a given plane of symmetry.


The first argument is a 2D or 3D unstructured dataset. The second argument is the plane of symmetry for the symmetric data in the format [+-][xyz], e.g. “-y” and refers to the axis of the plane of symmetry (i.e. the side of the simulation region that will act as the plane of symmetry)




Below is a simple example of unfolding an unstructured dataset generated from data available in the unstructured_charge_example.mat file by assuming that the data is symmetric with respect to the "+y" plane.




x = charge.x;

y = charge.y;

z = charge.z;

C = charge.elements;

data = unstructureddataset("test",x,y,z,C);





See Also

arrayperiodicdata, unstructureddataset, rectilineardataset, addattribute, addparameter, visualize, datasets, getparameter, getattribute, matrixdataset, struct

Copyright Lumerical Inc. | Privacy | Site Map