write_optical_surface
- pyR2D2.write.vtk.write_optical_surface(qq, height, y, z, file, name)[source]
Outputs the 2D scalar data in VTK format especially for Paraview
- Parameters:
qq (numpy.ndarray, float) – Output 3D array size of (jx,kx)
height (numpy.ndarray, float) – height of optical surface size of (jx,kx) stored in self.qt[‘he’]
y (numpy.ndarray, float) – y coordinate size of (jx)
z (numpy.ndarray, float) – z coordinate size of (kx)
file (str) – File name for output
name (str) – Name of the variable