Compare commits
No commits in common. "4394f7053017b79b99151cb77112438d50149e81" and "787882810c4496d16bd76b69b128e77724aa444c" have entirely different histories.
4394f70530
...
787882810c
@ -10,6 +10,6 @@ dependencies = [
|
|||||||
"pandas",
|
"pandas",
|
||||||
"dask",
|
"dask",
|
||||||
"pathos",
|
"pathos",
|
||||||
"tables",
|
"tables"
|
||||||
"pyedr"
|
"pyedr"
|
||||||
]
|
]
|
||||||
|
@ -126,6 +126,9 @@ def rdf(
|
|||||||
particles_in_volume = int(
|
particles_in_volume = int(
|
||||||
np.max(number_of_neighbors(atoms_a, query_atoms=atoms_b, r_max=bins[-1])) * 1.1
|
np.max(number_of_neighbors(atoms_a, query_atoms=atoms_b, r_max=bins[-1])) * 1.1
|
||||||
)
|
)
|
||||||
|
print(atoms_a[:5])
|
||||||
|
print(atoms_b[:5])
|
||||||
|
print(" ")
|
||||||
distances, indices = next_neighbors(
|
distances, indices = next_neighbors(
|
||||||
atoms_a,
|
atoms_a,
|
||||||
atoms_b,
|
atoms_b,
|
||||||
@ -306,7 +309,7 @@ def next_neighbor_distribution(
|
|||||||
)[1]
|
)[1]
|
||||||
resname_nn = reference.residue_names[nn]
|
resname_nn = reference.residue_names[nn]
|
||||||
count_nn = (resname_nn == atoms.residue_names.reshape(-1, 1)).sum(axis=1)
|
count_nn = (resname_nn == atoms.residue_names.reshape(-1, 1)).sum(axis=1)
|
||||||
return np.histogram(count_nn, bins=bins, density=normed)[0]
|
return np.histogram(count_nn, bins=bins, normed=normed)[0]
|
||||||
|
|
||||||
|
|
||||||
def hbonds(
|
def hbonds(
|
||||||
|
Loading…
Reference in New Issue
Block a user