Visualize arrays¶
API reference¶
-
doatools.plotting.plot_array.
plot_array
(array, ax=None, show_location_errors=False)[source]¶ Visualizes the input array.
Parameters: - array (ArrayDesign) – A sensor array.
- ax (Axes) – Matplotlib axes used for the plot. If not
specified, a new figure will be created. Default value is
None
. - show_location_errors (bool) – If set to
True
, will visualized the perturbed array if the input array has location errors.
Returns: The axes object containing the plot.
-
doatools.plotting.plot_array.
plot_coarray
(array, ax=None, show_location_errors=False)[source]¶ Visualizes the difference coarray of the input array.
Parameters: - array (ArrayDesign) – A sensor array.
- ax (Axes) – Matplotlib axes used for the plot. If not
specified, a new figure will be created. Default value is
None
. - show_location_errors (bool) – If set to
True
, will visualized the perturbed array if the input array has location errors.
Returns: The axes object containing the plot.