QoI Configuration¶
Source code:
bff/workflows/configs.pybff/workflows/qoi.pybff/qoi/routines.py
Purpose¶
bff qoi computes quantities of interest for:
- the sampled trainset produced by
bff trainset - the reference trajectories provided by the user
Minimal Example¶
trainset:
dir: ../02-training-data/trainset
refset:
systems:
- coordinates: ../01-prepare/colvars/reference/system-000/system.gro
topology: ../01-prepare/colvars/reference/system-000/system.top
trajectory: ../02-reference-data/trajectories/pos-000.xtc
routines:
- routine: rdf
mol_resname: ACE
- routine: ./restraint.py:distance_distribution
atom_pair: [C2, CAL]
run:
in_memory: true
gc_collect: false
maxtasksperchild: 100
output:
path: ./qoi
log: ./out.log
write_raw: true
Top-Level Keys¶
trainsetTrainset slicing and worker settings.refsetReference systems, slicing, and routines.runRuntime settings for multiprocessing and memory handling.outputOutput prefix and logging settings.
trainset Keys¶
dirTrainset directory produced bybff trainset.startFirst frame index to analyze.stopFinal frame index to analyze.stepFrame stride.workersWorker count for trainset analysis.-1means the implementation default.progress_strideProgress update interval for trainset processing.
refset Keys¶
startFirst frame index for reference trajectories.stopFinal frame index for reference trajectories.stepFrame stride for reference trajectories.systemsNon-empty list of reference systems.
refset.systems[] Keys¶
coordinatesCoordinate file for the reference system.topologyTopology file for the reference system.trajectoryReference trajectory file.routinesNon-empty list of QoI routines to evaluate for that system.
Routine Keys¶
routineEither a builtin routine name such asrdforhb, or a custom routine string in the formpath.py:function.- any additional keys Passed directly to the routine as keyword arguments.
Builtin routines currently live in:
bff/qoi/rdf.pybff/qoi/hbonds.py
run Keys¶
in_memoryLoad trainset QoI results into memory before reduction.gc_collectRun explicit garbage collection between tasks.maxtasksperchildWorker recycling interval for multiprocessing.
output Keys¶
pathOutput prefix for the written QoI dataset files.logLog file path.write_rawIftrue, also write the raw per-block QoI data as JSON.