readbinarysamples: Read binary correlation function by sample

View source: R/readutils.R

readbinarysamplesR Documentation

Read binary correlation function by sample

Description

Read binary correlation functions sample by sample, return as a list of length nosamples where increasing indices refer to averaging over increasing numbers of samples.

Usage

readbinarysamples(files, Time = 48, nosamples = 2, endian = "little",
  excludelist = c(""), sym = TRUE, path = "", ftype = double())

Arguments

files

character vector. Paths to the file to read. As path is prepended to each element, one can also just pass the filenames here.

Time

numeric. Time extent.

nosamples

number of samples

endian

character, either little or big.

excludelist

character vector. Elements in files that are specified in excludelist are skipped. The caller could also just pass setdiff(files, excludelist).

sym

logical. Whether the read data shall be symmetrized in the end.

path

character. Path that is prefixed to each of the paths given in files.

ftype

numeric type. As the data is read in binary this type has to match exactly the one in the file.

Value

Returns a list of cf objects.


hadron documentation built on Sept. 9, 2022, 5:06 p.m.