pub fn barker_code(length: usize) -> Result<Vec<i8>, ErrorsJSL>
The Barker code of the given length as ±1 chips.
±1