Snapshot
megane-viewer / Snapshot
Interface: Snapshot
Defined in: types.ts:4
Decoded molecular snapshot data.
Properties
atomBFactors
atomBFactors:
Float32Array<ArrayBufferLike> |null
Defined in: types.ts:16
Per-atom B-factors (temperature factors) in Ų. Null for formats without B-factor info.
atomChainIds
atomChainIds:
Uint8Array<ArrayBufferLike> |null
Defined in: types.ts:14
Per-atom chain IDs as raw ASCII bytes (e.g. 65='A'). Null for formats without chain info.
bondOrders
bondOrders:
Uint8Array<ArrayBufferLike> |null
Defined in: types.ts:11
bonds
bonds:
Uint32Array
Defined in: types.ts:10
box
box:
Float32Array<ArrayBufferLike> |null
Defined in: types.ts:12
caChainIds?
optionalcaChainIds?:Uint8Array<ArrayBufferLike>
Defined in: types.ts:19
caIndices?
optionalcaIndices?:Uint32Array<ArrayBufferLike>
Defined in: types.ts:18
caResNums?
optionalcaResNums?:Uint32Array<ArrayBufferLike>
Defined in: types.ts:20
caSsType?
optionalcaSsType?:Uint8Array<ArrayBufferLike>
Defined in: types.ts:21
elements
elements:
Uint8Array
Defined in: types.ts:9
nAtoms
nAtoms:
number
Defined in: types.ts:5
nBonds
nBonds:
number
Defined in: types.ts:6
nFileBonds
nFileBonds:
number
Defined in: types.ts:7
positions
positions:
Float32Array
Defined in: types.ts:8
symmetryOps?
optionalsymmetryOps?:string[]
Defined in: types.ts:29
Crystallographic symmetry operations as raw x,y,z-style strings, captured
from a CIF _symmetry_equiv_pos_as_xyz loop. Undefined for formats without
space-group information. Informational only: the CIF parser already applies
these to expand the asymmetric unit into the full unit cell, so positions
holds the expanded structure (not the raw asymmetric unit).