Array shape manipulation#

frame

Slice a data array into (overlapping) frames.

pad_center

Pad an array to a target length along a target axis.

expand_to

Expand the dimensions of an input array with

fix_length

Fix the length an array data to exactly size along a target axis.

fix_frames

Fix a list of frames to lie within [x_min, x_max]

index_to_slice

Generate a slice array from an index array.

stack

Stack one or more arrays along a target axis.

shear

Shear an array (or matrix) by a given factor.