pado.propagator.compute_pad_width

compute_pad_width(field, linear)[source]

Double spatial dimensions while preserving the integer-centered origin.

Return type:

Tuple[int, int, int, int]

Parameters: