xoa.num.get_iminmax

xoa.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