Skip to content

flex_rf.tidy3d.SpatialDataArray

Type: class Base(s): AbstractSpatialDataArray

Spatial distribution.

x = [1,2]
y = [2,3,4]
z = [3,4,5,6]
coords = dict(x=x, y=y, z=z)
fd = SpatialDataArray((1+1j) * np.random.random((2,3,4)), coords=coords)
reflect(axis: Axis, center: float, reflection_only: bool = False, symmetry: float = 1)

Reflect data across the plane define by parameters axis and center from right to left. Note that the returned data is sorted with respect to spatial coordinates.