linop.Pad#
- class bartorch.linop.Pad#
Bases:
LinearOperatorMake each axis longer, BART’s
linop_padding.- Parameters:
shape (tuple of int) – The domain, C order.
before (int or sequence of int) – How much to add at the start of each axis. A single number applies to every axis.
after (int or sequence of int, default=None) – How much to add at the end of each axis;
Noneaddsbefore.mode (str, default='constant') –
"constant"for zeros, or"wrap","symmetric"or"reflect"to carry values in from the array itself.
Also has the methods and properties of LinearOperator.