View source: R/cvc_readutils.R
cvc_read_loops | R Documentation |
The CVC naive_loops code produces HDF5 files which contain a matrix of momenta and the data for the loops (without spin projection) organised by stochastic sample. Currently, the reading code assumes that there is a single configuration stored per file and the "trajectory" parameter in CalcLoops is assumed to take its default value of '4'.
cvc_read_loops(selections, files, Time, nstoch, verbose = FALSE, check_group_names = FALSE)
selections |
Named list with names from the list 'Naive', 'Scalar', 'dOp', 'Loops' 'LpsDw', 'LpsDwCv', 'LoopsCv' specifying the requesetd loop types. The elements of this list are in turn expected be data frames of the form
specifying the momentum combinations to be extracted for each loop type. | ||||||||||||
files |
Vector of strings, list of HDF5 files to be processed. | ||||||||||||
Time |
Integer, time extent of the lattice. | ||||||||||||
nstoch |
Integer, number of stochastic samples to be expected in file. | ||||||||||||
verbose |
Boolean, output I/O time per file. Requires 'tictoc' package. Default FALSE. | ||||||||||||
check_group_names |
Boolean, check if the group names that we're about to read actually
exist in the file. This is quite slow because it uses |
Named nested list of the same length as selections
containg the loop data
in the raw_cf format. Each named element corresponds to one loop
type and each element of the underlying numbered list corresponds to one momentum
combination as specified via selections
for this loop type in the same order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.