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).
Modules§
- ffi
- C ABI for readcon-db (always linked into cdylib/staticlib).
Structs§
- ConCorpus
- Content
Hash - xxHash3 128-bit content fingerprint (exact match / dedup).
- Cooked
Soa - Decoded cooked numerics (always f64 for v1).
- Frame
Key - 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.
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).
Functions§
- 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).
- 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