feature_extraction_loop
grb_trigger.features.feature_extraction_loop(detector_counts, background_bins_number=100, foreground_bins_number=10)Extract the feature matrix by sliding over every valid bin.
Parameters
detector_countstuple of numpy.ndarray-
(low_counts, high_counts). background_bins_numberint, default 100-
Background window size.
foreground_bins_numberint, default 10-
Foreground window size.
Returns
Xnumpy.ndarray, shape (n_valid_windows, 7)-
Columns: SNR low, SNR high, HR, peak-to-mean low/high, asymmetry low/high.
See Also