xoa.core.num.get_iminmax

Contents

xoa.core.num.get_iminmax#

xoa.core.num.get_iminmax(data1d)[source]#

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

Parameters:

data1d (array_like(n))

Returns:

  • int – Index of the first valid value

  • int – Index of the last valid value