nmrglue.fileio.bruker.remove_digital_filter

nmrglue.fileio.bruker.remove_digital_filter(dic, data, truncate=True, post_proc=False)[source]

Remove the digital filter from Bruker data.

Parameters
dicdict

Dictionary of Bruker parameters.

datandarray

Array of NMR data to remove digital filter from.

truncatebool, optional

True to truncate the phase shift prior to removing the digital filter. This typically produces a better looking spectrum but may remove useful data. False uses a non-truncated phase.

post_procbool, optional

True if the digitial filter is to be removed post processing, i.e after fourier transformation. The corrected FID will not be returned, only a corrected spectrum in the frequency dimension will be returned

Returns
ndatandarray

Array of NMR data with digital filter removed

See also

rm_dig_filter

Remove digital filter by specifying parameters.