dtmm.data_viewer¶
Created on Mon Mar 19 10:32:48 2018
@author: andrej
Module Contents¶
-
dtmm.data_viewer.plot_material(data, eps=None, center=False, xlim=None, ylim=None, zlim=None, ax=None)¶ Plots material (in color) of the optical data.
- Parameters
data (optical_data or material (eps)) – A valid optical data tuple, eps array
eps (array or None, optional) – Specifies which eps values to plot. If not given, all data is plotted.
center (bool, optional) – Whether to view coordinates from the center of the box.
xlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the x direction (width).
ylim ((low, high) or None, optional) – A tuple describing the coordinate limits in the y direction (height).
zlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the z direction (layer index).
ax (matplotlib.axes or None, optional) – If specified, plot to ax.
-
dtmm.data_viewer.plot_director(director, fig=None, center=False, xlim=None, ylim=None, zlim=None, ax=None)¶ Plots director data.
- Parameters
director (optical_data or material (eps)) – A valid optical data tuple, eps array
eps (array or None, optional) – Specifies which eps values to plot. If not given, all data is plotted.
center (bool, optional) – Whether to view coordinates from the center of the box.
xlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the x direction (width).
ylim ((low, high) or None, optional) – A tuple describing the coordinate limits in the y direction (height).
zlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the z direction (layer index).
ax (matplotlib.axes or None, optional) – If specified, plot to ax.
-
dtmm.data_viewer.plot_angles(data, **kwargs)¶ Plots eps angles for optical data or angles data.
- Parameters
data (optical_data or material (eps)) – A valid optical data tuple, eps array
eps (array or None, optional) – Specifies which eps values to plot. If not given, all data is plotted.
center (bool, optional) – Whether to view coordinates from the center of the box.
xlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the x direction (width).
ylim ((low, high) or None, optional) – A tuple describing the coordinate limits in the y direction (height).
zlim ((low, high) or None, optional) – A tuple describing the coordinate limits in the z direction (layer index).
ax (matplotlib.axes or None, optional) – If specified, plot to ax.