pihnn.graphics.plot_training_points#

pihnn.graphics.plot_training_points(boundary, format='png', dir='results/', figsize=(8, 8), markersize=4)#

Generates a plot of the current batch of training points with some information regarding the boundary conditions and the domain (the latter, only for DD-PIHNNs).

Parameters:
  • boundary (pihnn.geometries.boundary) – Domain boundary, needed to extract training points.

  • format (str) – Format of the save figure.

  • dir (str) – Directory where to save the figure.

  • figsize (tuple of float) – Size of the matplotlib.pyplot.figure. If None, no figure is created.

  • markersize (float) – Size of the marker that is used to plot a point.