apply_region_map_to_raspa_pdb_wrapped
raspa_helper.apply_region_map_to_raspa_pdb_wrapped(
pdb_file,
regions_cluster,
unit_cell,
natoms_per_molecule=1,
index_list=None,
symbol_map=None,
)
Count adsorbates per region after wrapping PDB coordinates into one unit cell.
Parameters
| pdb_file |
|
the pdb file you want to analyze |
required |
| regions_cluster |
|
the region map for a single unit cell |
required |
| unit_cell |
|
the unit cell matrix or ASE Atoms object containing the unit cell information |
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. |