nmrglue.process.proc_base.thres

nmrglue.process.proc_base.thres(data, thres=0.0)[source]

Mark values less than thres as invalid (for use with filters)

Parameters
datandarray

Array of NMR data.

thresfloat

Threshold value.

Returns
ndatamasked ndarray

Masked array of NMR data with values less than thres masked.