pub(crate) fn py_noise_entropy( binary_train: PyReadonlyArray1<'_, i32>, n_trials: usize, bin_size: usize, word_length: usize, ) -> f64