View source: R/cyprus_readutils.R
cyprus_read_loops | R Documentation |
The CalcLoops 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.
cyprus_read_loops(selections, files, Time, nstoch, accumulated = TRUE, legacy_traj = TRUE, verbose = FALSE, check_group_names = FALSE, spin_project = FALSE, project_gamma = NULL, use_parallel = TRUE)
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. | ||||||||||||
accumulated |
Boolean or vector of boolean, specifies whether the loops,
as organised by stochastic sample,
are accumulated, such that, say, element | ||||||||||||
legacy_traj |
Boolean. The root group for the loop data is 'conf_xxxx', where 'xxxx'
corresponds to what is passed via the 'traj' flag to CalcLoops. When
left empty, this defaults to '0004'. If this was left emtpy when
the loop files were generated, set this to | ||||||||||||
verbose |
Boolean, output I/O time per file. Requires 'tictoc' package. Default FALSE. | ||||||||||||
check_group_names |
Boolean, employ | ||||||||||||
spin_project |
Boolean, whether the loops should be spin projected after being read.
Must be provided to together with | ||||||||||||
project_gamma |
Named list of the same length as | ||||||||||||
use_parallel |
Boolean, whether to parallelise over the files using the |
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.
For scalar-valued loop types, each element of the underlying numbered list
corresponds to one momentum combination as specified via selections
for this loop type in the same order.
For the vector-valued loop types, the first level of the underlying numbered
list has four elements corresponding to the four derivative directions
in the order t,x,y,z.
At the next level, the underlying numbered list corresponds to the momentum
combinations for this loop type and derivative direction, just as for the
scalar type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.