apply_region_map_to_raspa_pdb
raspa_helper.apply_region_map_to_raspa_pdb(
pdb_file,
regions_cluster_super,
natoms_per_molecule=1,
index_list=None,
)
Count adsorbates per segmentation region using a supercell region map on PDB frames.
Parameters
| pdb_file |
|
the pdb file you want to analyze |
required |
| regions_cluster_super |
|
the supercell regions map |
required |
| natoms_per_molecule |
|
number of atoms per molecule. This is currently only implemented for 1, defaults to 1 (optional) |
1 |
| index_list |
|
list of indices of atoms to use in the pdb file. If None, all atoms are used |
None |
Returns
|
|
A dictionary with the number of atoms in each cluster type and the total number of atoms. |