spiketools.utils.extract.create_nan_mask

spiketools.utils.extract.create_nan_mask(data)[source]

Create a mask for non-nan array elements.

Parameters:
data1d array

Array of data.

Returns:
mask1d array

Boolean array.