Postprocessing

Each case in the Cases folder is unique. But, they share the same post-processing routines located in ./Cases/src/post.py.

At this moment, post-processing can generate cool images and export any field in .h5 format. If a new post-processing routine is required, post.py should be extended.

Contour plots

AI4HPC can generate contour plots using the Matplotlib’s contour library, then save the image in any format. For example, plot_scatter_CDM function in ./Cases/src/post.py generates 3 contour plots of the input, output and the target, extract the image in .pdf and .h5 formats for further usage.

Line plots

Similarly, AI4HPC can generate line plots using also Matplotlib’s plot library, then save the image in any format. For example, plot_line function in ./Cases/src/post.py generates 2 lines from the input and the output, and then save the image in .pdf format.