Description Usage Arguments Details Value Author(s) References Examples
View source: R/GroupDelayCorrection.R
The function removes the group delay at the beginning of the FIDs.
1 | GroupDelayCorrection(Fid_data, Fid_info = NULL, group_delay = NULL, verbose = FALSE)
|
Fid_data |
Matrix containing the FIDs, one row per signal, as outputted by |
Fid_info |
Matrix containing the info about the FIDs, one row per signal, as outputted by |
group_delay |
If given, it is used instead of |
verbose |
If |
First Order Phase Correction step could also called "removal of Bruker digital filter".
Due to Bruker's digital filter and to other technical reasons a first order phase shift caused by a group delay is present in the FID and needs to be removed.
Luckily, information about this delay is available when loading the FID with ReadFids
and is written in Fid_info
.
This function shifts circularly each FID in order to cancel this delay. By circularly, we mean that the starting portion of the FID becomes its ending portion when applied.
Each FID is shifted by the same amount since it can be non-integer and the columns names which are the time coordinates are shared between all the FIDs.
Fid_data |
The matrix of FIDs corrected for the first order phase shift. |
Benoît Legat & Manon Martin
Martin, M., Legat, B., Leenders, J., Vanwinsberghe, J., Rousseau, R., Boulanger, B., & Govaerts, B. (2018). PepsNMR for 1H NMR metabolomic data pre-processing. Analytica chimica acta, 1019, 1-13.
Rousseau, R. (2011). Statistical contribution to the analysis of metabonomics data in 1H NMR spectroscopy (Doctoral dissertation, PhD thesis. Institut de statistique, biostatistique et sciences actuarielles, Université catholique de Louvain, Belgium).
1 2 | require(PepsNMRData)
Fopc.fid <- GroupDelayCorrection(Data_HS_sp$FidData_HS_0, FidInfo_HS)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.