signal_bind {alkahest}R Documentation

Bind

Description

Combines XY objects.

Usage

signal_bind(...)

## S4 method for signature 'ANY'
signal_bind(...)

Arguments

...

Any object that can be interpreted in a suitable way (see grDevices::xy.coords()).

Value

Returns a matrix of intensities.

Author(s)

N. Frerebeau

See Also

Other signal processing methods: signal_correct(), signal_drift(), signal_mean(), signal_shift(), subset()

Examples

## X-ray diffraction
data("XRD")

XRD1 <- signal_drift(XRD, lag = 1500)

## Bind
XRD_bind <- signal_bind(XRD, XRD1)
XRD_bind[, 1:10]

## Mean
XRD_mean <- signal_mean(XRD, XRD1)

plot(NULL, type = "l", xlim = c(10, 70) , ylim = c(3000, 36000),
     xlab = expression(2*theta), ylab = "Count")
lines(XRD, type = "l")
lines(XRD1, type = "l")
lines(XRD_mean, type = "l", col = "red")

[Package alkahest version 1.1.1 Index]