starling.data.data_wrangler.MaxPad

MaxPad(original_array: array, shape: tuple) array[source]

A function that takes in a distance map and pads it to a desired shape

Parameters:

original_array (np.array) – A distance map

Returns:

A distance map padded to a desired shape

Return type:

np.array