ZeroFilling: Zero Filling

Description Usage Arguments Details Value Author(s) Examples

View source: R/ZeroFilling.R

Description

The function applies zero filling to the FIDs.

Usage

1
ZeroFilling(Fid_data, fn = ncol(Fid_data), verbose = FALSE)

Arguments

Fid_data

Matrix containing the FIDs, one row per signal, as outputted by ReadFids.

fn

Number of 0 to be added.

verbose

If "TRUE", will print processing information.

Details

Zero filling does not improve the spectral resolution but lead to better visually defined lines in the spectra. During zero filling, fn zeros are appended at the end of the FIDs. This number is rounded to the nearest 2^x value to ease the upcoming Fourier Transform of the FIDs.

Value

Fid_data

The zero-filled FIDs.

Author(s)

Manon Martin

Examples

1
2
require(PepsNMRData)
ZF_fid <- ZeroFilling(Data_HS_sp$FidData_HS_3, fn = ncol(Data_HS_sp$FidData_HS_3))

yclement/PepsNMR documentation built on April 10, 2020, 12:07 a.m.