spiketools.utils.extract.select_from_arrays¶
- spiketools.utils.extract.select_from_arrays(mask, *arrays)[source]¶
Select the same set of elements from a collection of arrays.
- Parameters:
- mask1d array
Mask, specifying the elements to select from the array(s).
- arrays1d array
Array(s) to sub-select elements from. Each array should have the same length as each other, and as the mask.
- Returns:
- out_arrays1d array
Sub-selected array(s).