pacfish

visualize_device(device_dictionary: dict, save_path: Optional[str] = None, title: Optional[str] = None, only_show_xz: bool = False, show_legend: bool = True)[source]

Visualises a given device from the device_dictionary.

Parameters:
  • device_dictionary (dict) – The dictionary containing the device description.

  • save_path (str) – Optional save_path with the path and file name to save the visualisation to.

  • title (str) – Optional custom title for the plot.

  • only_show_xz (bool) – Optional bool parameter specifying if only the first window should be shown instead of all

  • show_legend (bool) – Optional parameter whether the figure legend should be shown (default: True)