Expand description
Embedded CON/convel corpus on LMDB (Heed) with non-SQL selection and xxHash3 exact match.
Optional python feature builds PyO3 bindings. C ABI is always compiled into
cdylib/staticlib (src/ffi.rs).
Re-exports§
pub use archive::ObservationArchive;
Modules§
- archive
- Asynchronous observation archive over a
ConCorpus. - ffi
- C ABI for readcon-db (always linked into cdylib/staticlib).
Structs§
- Annotate
Topology Opts - Per-corpus fingerprint options. Cutoff is required; graph defaults to
cutoffand hops defaults to 2. - ConCorpus
- Content
Hash - xxHash3 128-bit content fingerprint (exact match / dedup).
- Cooked
Soa - Decoded cooked numerics (always f64 for v1).
- Fingerprint
Record - One parsed
seams fingerprintobject (frame HEX + method). - Frame
Key - H5md
Arrays - Time-dependent cooked trajectory for one
traj_id. - Select
- Non-SQL selection builder (ASE.db-competitive campaign filters via secondary indexes).
- Shard
Manifest - Sharded
ConCorpus - Multi-shard campaign corpus:
root/shard_XXXX/each holds an independentConCorpus. - Topology
Params - Recorded per-corpus topology parameters (every annotated traj must agree).
- Traj
Meta
Enums§
- Corpus
Export Kind - Exportable corpus layout kinds for analysis handoff.
- Error
Constants§
- DEFAULT_
N_ SHARDS - Default shard count for HPC campaign roots (power of two aids routing).
- SEAMS_
MISSING - Clear error when the engine binary cannot be resolved.
Functions§
- canonicalize_
unit - Validate with the SI parser and rewrite aliases to preferred names.
- canonicalize_
units_ object - composition_
formula - Canonical formula string — delegated to
readcon_core::index_proj(single encoding). Canonical multiset formula: sorted non-emptySym:countjoined by|. Example: Cu₂H₂ →Cu:2|H:2. Shared with campaignidx_formulakeys. - frame_
cell_ volume - Cell volume: prefer lattice determinant; else triclinic from
boxl+angles(degrees). - frame_
fmax - Euclidean max ||F_i|| over atoms with force data; None if no forces.
- frame_
total_ mass - Total mass = Σ masses_per_type[i] * natms_per_type[i] (all finite).
- hash_
frame_ bytes - Hash canonical frame blob bytes (UTF-8 CON text as stored).
- join_
corpus_ dirs - Join any set of single-env corpus directories into one destination (traj_id must be unique).
- join_
drained_ roots - Join several drained sharded roots (unique dests after refuse-overwrite) into one single-env corpus. Traj ids must be unique across sources.
- open_
single_ env_ for_ export - Open a single-env corpus for analysis export. Refuses a sharded root so
ConCorpus::opencannot mintdata.mdbnext toshards.json. - parse_
fingerprint_ json_ line - One JSON object from
seams fingerprint --format json. - parse_
fingerprint_ json_ stdout - Parse every JSON object in
seams fingerprint --format jsonstdout. - parse_
fingerprint_ text - Token after
keyis the frame HEX; token aftermethodis nauty or wl. - species_
counts_ from_ symbols - Canonical formula string — delegated to
readcon_core::index_proj(single encoding). Species multiset from atom symbols (non-empty only), sorted by symbol. - write_
frame_ extxyz - Write one frame as ASE-compatible extxyz (Lattice, Properties, energy/forces in info/arrays).
- write_
frames_ extxyz