@@ -130,7 +130,7 @@ def generate_maps(self, work_item: PlotWorkItem):
130130 filter_cpp = openmc .lib .filters [params ["filter_id" ]]
131131
132132 # Single call replaces id_map + property_map + get_plot_bins
133- geom_data , property_data = openmc .lib .raster_plot (
133+ geom_data , property_data = openmc .lib .slice_plot (
134134 origin = params ["origin" ],
135135 width = (params ["width" ], params ["height" ]),
136136 basis = params ["basis" ],
@@ -319,7 +319,7 @@ def __init__(self, use_settings_pkl, model_path, default_res):
319319 # Cell/Material ID by coordinates
320320 self .ids = None
321321
322- # Return values from raster_plot
322+ # Return values from slice_plot
323323 self .geom_data = None
324324 self .property_data = None
325325 self .map_view_params = None
@@ -520,7 +520,7 @@ def makePlot(self, view: Optional["PlotView"] = None,
520520 if filter_id is not None :
521521 filter_cpp = openmc .lib .filters [filter_id ]
522522
523- self .geom_data , self .property_data = openmc .lib .raster_plot (
523+ self .geom_data , self .property_data = openmc .lib .slice_plot (
524524 origin = view .origin ,
525525 width = (view .width , view .height ),
526526 basis = view .basis ,
@@ -1039,11 +1039,11 @@ def _do_op(array, tally_value, ax=0):
10391039 selected_scores .append (idx )
10401040 data = _do_op (data [np .array (selected_scores )], tally_value )
10411041
1042- # Extract filter bins from geom_data (computed during raster_plot call)
1042+ # Extract filter bins from geom_data (computed during slice_plot call)
10431043 # geom_data has shape (v_res, h_res, 4) when filter was included
10441044 if self .geom_data .shape [2 ] < 4 :
10451045 raise RuntimeError (
1046- "Filter bins not available. Ensure raster_plot was called with "
1046+ "Filter bins not available. Ensure slice_plot was called with "
10471047 "the appropriate filter for MeshMaterialFilter tallies."
10481048 )
10491049 bins = self .geom_data [:, :, 3 ]
0 commit comments