Analyze Configuration¶
Source code:
bff/workflows/analyze/config.pybff/workflows/analyze/main.pybff/qoi/routines.py
Purpose¶
bff analyze computes quantities of interest for:
- the sampled campaigns produced by
bff sample - the reference trajectories provided by the user
Minimal Example¶
sample:
dir: ../03-sample
reference:
systems:
- coordinates: ../03-reference/trajectories/system-000/system.gro
topology: ../03-reference/trajectories/system-000/system.top
trajectory: ../03-reference/trajectories/system-000/trajectory.xtc
routines:
- routine: rdf
mol_resname: ACE
- routine: ../inputs/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¶
sampleSample slicing and worker settings.referenceReference systems, slicing, and routines.runRuntime settings for multiprocessing and memory handling.outputOutput prefix and logging settings.
sample Keys¶
dirSample campaign directory produced bybff sample.startFirst frame index to analyze.stopFinal frame index to analyze.stepFrame stride.workersWorker count for sample analysis.-1means the implementation default.progress_strideProgress update interval for sample processing.
reference Keys¶
startFirst frame index for reference trajectories.stopFinal frame index for reference trajectories.stepFrame stride for reference trajectories.systemsNon-empty list of reference systems.
reference.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
Builtin RDF and hydrogen-bond routines analyze the selected trajectory slice directly; they do not perform block averaging internally.
run Keys¶
in_memoryLoad sample 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.