sigpy.hard_thresh

sigpy.hard_thresh(lamda, input)[source]

Hard threshold.

Parameters:
  • lamda (float, or array) – Threshold parameter.
  • input (array) –
Returns:

hard-thresholded result.

Return type:

array