vocalpy.validators.validators# Validation functions. Functions have_same_dtype(arr1, arr2[, name1, name2]) Validates that two arrays, arr1 and arr2, have the same dtype. is_1d_ndarray(y[, name]) Validates that y is a 1-dimensional numpy.ndarray. is_valid_boundaries_array(y[, name]) Validates that y is a valid array of boundaries found with a segmentation algorithm, e.g., onsets or offsets of segments returned by vocalpy.segment.meansquared().