cr.nimble.compression.encode_int_arr_sgn_mag_fl

cr.nimble.compression.encode_int_arr_sgn_mag_fl(input_arr, bits_per_sample)[source]

Encodes an array of integers to a bit array using a sign bit and a fixed number of bits per sample for magnitude

Parameters

bits_per_sample (int) –