openmc.lib.property_map

openmc.lib.property_map(plot)[source]

Generate a 2-D map of cell temperatures and material densities. Used for in-memory image generation.

Parameters

plot (openmc.lib.plot._PlotBase) – Object describing the slice of the model to be generated

Returns

property_map – A NumPy array with shape (vertical pixels, horizontal pixels, 2) of OpenMC property ids with dtype float

Return type

numpy.ndarray