synth_afm.io
The io module handles loading protein structure files and assigning per-atom van der Waals radii
for use with the AFM simulation kernels.
load_coords_and_radii(file_path, filter_protein=False)
Loads coordinates and assigns vdW radii from a PDB/mmCIF file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
str
|
Path to the structure file. |
required |
filter_protein
|
bool
|
If True, filters only amino acid atoms. |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
Tuple[ndarray, ndarray]
|
(coords (N, 3), radii (N,)) as JAX arrays. |