pysteps.motion.vet.get_padding

pysteps.motion.vet.get_padding(dimension_size, sectors)

Get the padding at each side of the one dimensions of the image so the new image dimensions are divided evenly in the number of sectors specified.

Parameters:
dimension_size : int

Actual dimension size.

sectors : int

number of sectors over which the the image will be divided.