cupyx.signal.ca_cfar#
- cupyx.signal.ca_cfar(array, guard_cells, reference_cells, pfa=0.001)[source]#
Computes the cell-averaged constant false alarm rate (CA CFAR) detector threshold and returns for a given array. :param array: Array containing data to be processed. :type array: ndarray :param guard_cells_x: One-sided guard cell count in the first dimension. :type guard_cells_x: int :param guard_cells_y: One-sided guard cell count in the second dimension. :type guard_cells_y: int :param reference_cells_x: one-sided reference cell count in the first dimension. :type reference_cells_x: int :param reference_cells_y: one-sided reference cell count in the second dimension. :type reference_cells_y: int :param pfa: Probability of false alarm. :type pfa: float
- Returns:
threshold (ndarray) – CFAR threshold
return (ndarray) – CFAR detections