mindelec.vision

Visualization module, covering drawing, video production, loss monitoring callback functions, etc.

API Name

Description

Supported Platforms

mindelec.vision.MonitorEval

LossMonitor for eval.

Ascend

mindelec.vision.MonitorTrain

Loss monitor for train.

Ascend

mindelec.vision.image_to_video

Create video from existing images.

Ascend

mindelec.vision.plot_eh

Draw electric and magnetic field values of every timestep for 2D slices, and save them in path_image_save

Ascend

mindelec.vision.plot_s11

Draw s11-frequency curve and save it in path_image_save.

Ascend

mindelec.vision.print_graph_1d

Draw 1d scatter image

Ascend

mindelec.vision.print_graph_2d

Draw 2d scatter image

Ascend

mindelec.vision.vtk_structure

Generates 3D vtk file for visualizaiton.

Ascend