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))
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).
Integer vector with the sizes of the internal dimensions. For example,
c(4,4)
for spin correlators.
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
.