View source: R/cvc_readutils.R
cvc_to_raw_cf | R Documentation |
Given a numeric vector of alternating real and imaginary parts of a
correlation function, creates an object of class 'raw_cf' with
a single measurement, inferring Time
from the passed numeric vector
while the shape of the internal dimensions has to be specified explicitly
if larger than one by one
(c(1,1)
).
cvc_to_raw_cf(cf_dat, dims = c(1, 1))
cf_dat |
Numeric vector of alternating real and imaginary parts of a correlation function. Ordering of the input should be complex, internal dimensions, time (left to right, fastest to slowest). |
dims |
Integer vector with the sizes of the internal dimensions. For example,
|
raw_cf
object with a data
member which contains the data (as complex numbers)
in the shape c(1,nts,dims)
, where nts
is the number of time slices
inferred from the length of cfdat
and the product of the internal dimensions dims
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.