tomwer.core.reconstruction.nabu.slice.SliceInterpreter.SliceInterpreter#

class tomwer.core.reconstruction.nabu.slice.SliceInterpreter.SliceInterpreter#

Small class that generate all the nabu configuration to be run from one ‘advanced’ nabu configuration

static filter_slice(slice_index, axis, max_axis_0_size, max_axis_1_size, max_axis_2_size, scan_id, invalid_slice_callback=None)#

remove slices that ‘cannot’ be reconstructed (out of bounds)

classmethod interpret(config, slices, scan, rec_plane=NabuPlane.XY, invalid_slice_callback=None)#

Generate a nabu configuration ‘ready to be processed’ from one ‘nabu raw configuration’