nmrglue.fileio.bruker.rm_dig_filter
- nmrglue.fileio.bruker.rm_dig_filter(data, decim, dspfvs, grpdly=0, truncate_grpdly=True, post_proc=False)[source]
Remove the digital filter from Bruker data.
- Parameters
- datandarray
Array of NMR data to remove digital filter from.
- decimint
Decimation rate (Bruker DECIM parameter).
- dspfvsint
Firmware version (Bruker DSPFVS parameter).
- grpdlyfloat, optional
Group delay. (Bruker GRPDLY parameter). When non-zero decim and dspfvs are ignored.
- truncate_grpdlybool, optional
True to truncate the value of grpdly provided or determined from the decim and dspfvs parameters before removing the digital filter. This typically produces a better looking spectrum but may remove useful data. False uses a non-truncated grpdly value.
- post_procbool, optional
True if the digitial filter is to be removed post processing, i.e after fourier transformation. The corrected time domain data will not be returned, only the corrected spectrum in the frequency dimension will be returned
- Returns
- ndatandarray
Array of NMR data with digital filter removed.
See also
remove_digital_filter
Remove digital filter using Bruker dictionary.