split_coupling: Generate splitting pattern based on coupling numbers and...

Description Usage Arguments

View source: R/parsing.R

Description

Converts a vector of peak numbers and coupling constants into a pattern of single peaks with accompanying area/height ratios as well as chemical shift offsets. An input of c(2, 2) and c(1, 2) would correspond to a double doublet with coupling constants of 1 and 2 respectively. Although units aren't kept track of, it makes most sense to convert coupling constants to ppm.

Usage

1
split_coupling(peaks, coupling)

Arguments

peaks

A vector of peaks per coupling constant, e.g., c(2, 2) for dd.

coupling

A vector of coupling constants.

relation to the center.


ssokolen/rnmrfit documentation built on Nov. 23, 2018, 12:25 a.m.