VOLT
Plugins

Grain Segmentation

Segment polycrystalline regions by grouping atoms with compatible orientations.

Parameters

ParameterTypeDefaultDescription
rmsdfloat0.1RMSD threshold for PTM structure identification.
minGrainAtomCountint100Minimum number of atoms required to keep a grain.
adoptOrphanAtomsbooltrueExposed in the interface, but the current implementation does not visibly perform a dedicated orphan-adoption phase.
handleCoherentInterfacesbooltrueHandle coherent interfaces between compatible structures.
outputBondsboolfalseExposed parameter; bond output is not currently surfaced as a documented result file.

Output

{outputBase}_grains.msgpack

type Vec3 = [float, float, float];
type Quaternion = [float, float, float, float];

interface Grain {
    id: int;
    size: int;
    orientation: Quaternion;
    pos: Vec3;
}

interface GrainSegmentationOutput {
    main_listing: {
        total_grains: int;
        merging_threshold: float;
    };
    sub_listings: {
        grains: Grain[];
    };
}

{outputBase}_atoms.msgpack

Atoms grouped by identified structure family for downstream visualization.

See Also

On this page