pysted.utils.pad_values

pysted.utils.pad_values(laser)

Pad values for the array_padder function

Return the minimum necessary rows, cols to pad an array with if we want to iterated over all of it with a laser

Parameters:

laser – Array of the shape of the laser which we want to iterated over a datamap.

Returns:

rows_pad, cols_pad, the number of rows and columns we need to pad the array with.