apodize_signal: Apply apodization function

Description Usage Arguments Value

Description

A thin wrapper around a number of common apodization functions.

Usage

1
2
apodize_signal(direct.time, fid, method = "exponential", ...,
  output.weights = FALSE)

Arguments

direct.time

A vector of time points of the signal data.

method

One of either 'exponential', 'gaussian', 'sine', 'sine2', or 'trapezoid' (where sine2 stands for sine squared – qsin).

...

Shape parameters that depend on method, lb – Line broadening (in Hz) used for exponential and gaussian apodization (negative for gaussian) gb – Gaussian broadening factor (0 - 1) ssb – Sine shift bell used for sine and sine2 apodization tm1 – Leftmost edge of trapezoid (0 - 1) tm2 – Rightmost edge of trapezoid (0 - 1)

output.weights

Set to TRUE to output the apodization function rather than the weighted signal.

signal

A vector of complex signal data.

Value

Corrected signal vector (or vector of weights if output.weights is TRUE).


ssokolen/rnmrfit documentation built on May 23, 2019, 1:48 p.m.