dec2bitarray(in_number, bit_width) |
Converts a positive integer to NumPy array of the specified size containing bits (0 and 1). |
bitarray2dec(in_bitarray) |
Converts an input NumPy array of bits (0 and 1) to a decimal integer. |
hamming_dist(in_bitarray_1, in_bitarray_2) |
Computes the Hamming distance between two NumPy arrays of bits (0 and 1). |
euclid_dist(in_array1, in_array2) |
Computes the squared euclidean distance between two NumPy arrays |
upsample(x, n) |
Upsample the input array by a factor of n |
signal_power(signal) |
Compute the power of a discrete time signal. |