structure_post_extraction_processor.AtomParams
- class structure_post_extraction_processor.AtomParams(labels, symbols, coords, frac_coords, mask, weights, charges)[source]
Container for atomic-level parameters.
- coords
Cartesian coordinates of each atom.
- Type:
torch.Tensor, shape (B, max_atoms, 3)
- frac_coords
Fractional coordinates of each atom.
- Type:
torch.Tensor, shape (B, max_atoms, 3)
- mask
Boolean mask indicating valid atom entries.
- Type:
torch.BoolTensor, shape (B, max_atoms)
- weights
Atomic weights.
- Type:
torch.Tensor, shape (B, max_atoms)
- charges
Partial charges per atom.
- Type:
torch.Tensor, shape (B, max_atoms)
- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 6
Alias for field number 2
Alias for field number 3
Alias for field number 0
Alias for field number 4
Alias for field number 1
Alias for field number 5
- coords: torch.Tensor
Alias for field number 2
- frac_coords: torch.Tensor
Alias for field number 3
- mask: torch.BoolTensor
Alias for field number 4
- weights: torch.Tensor
Alias for field number 5
- charges: torch.Tensor
Alias for field number 6
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.