xoa.num

Low level numeric utilities

The numerical inputs and outputs of all these routines are of scalar or numpy.ndarray type.

Functions

get_iminmax(data1d)

The first and last non nan values for a 1d array

ravel_index(ii, shape)

unravel_index(i, shape)