packing_defect.utils
Utility functions for packing_defect.
Functions
|
Apply periodic boundary conditions to positions. |
|
Compute pairwise distances between two sets of positions. |
|
Create an empty Universe for defect trajectories. |
|
Ensure every defect type has a corresponding threshold. |
|
Merge protein and defect atoms and write to a GRO file. |
- packing_defect.utils.apply_pbc(positions, box)[source]
Apply periodic boundary conditions to positions.
- packing_defect.utils.compute_pairwise_distances(positions1, positions2)[source]
Compute pairwise distances between two sets of positions.
- packing_defect.utils.initialize_empty_defect_universe(n_atoms, nframes, dims, dt)[source]
Create an empty Universe for defect trajectories.