pad_it - Pad an array
pad_it(input,output,ndim,n,beg,end.extend)
Input dataset
Number of dimensions
Axes lengths
Amount to pad at the begining of each axis
Amount to pad at the end of each axis
Whether or not to fill with nearest point[1] or zeros [0]
Output array
Pads an array. Should work with any dimension.
sepaux