2
$\begingroup$

Is there any software can give me the information of nearest neighbour, nest nearest neighbour,....(and their distance) from an atom within a crystal (described by a .cif file)? Perhaps some visualization software like VESTA?

$\endgroup$

1 Answer 1

4
$\begingroup$

I don't use VESTA and there are probably a few tools that can do this.

My suggestion would be to use the open source Python package ASE or "Atomic Simulation Environment." developed in part by the group of Karsten W. Jacobsen.

There are several algorithms available for generating neighbor lists and iterating through them: https://wiki.fysik.dtu.dk/ase/ase/neighborlist.html

Here's an example from the documentation:

# get neighbors of atom 42
indices, offsets = nl.get_neighbors(42)
for i, offset in zip(indices, offsets):
    print(atoms.positions[i] + dot(offset, atoms.get_cell()))
$\endgroup$
6
  • $\begingroup$ I checked ASE, but that seems require LINUX. I have only WINDOWS system $\endgroup$
    – latra
    Commented Dec 31, 2016 at 9:53
  • 1
    $\begingroup$ ASE requires Python (e.g., ASE install instructions ) and certainly Python and ASE can be installed on Windows: python.org/downloads/windows $\endgroup$ Commented Dec 31, 2016 at 16:46
  • $\begingroup$ I have got Pythod under windows....so how should I proceed to install ASE? get Cywin? I have also got it...... $\endgroup$
    – latra
    Commented Jan 1, 2017 at 7:16
  • 1
    $\begingroup$ As indicated in my comment above, if you have Python installed, you can install ASE using pip install --upgrade --user ase $\endgroup$ Commented Jan 2, 2017 at 0:22
  • $\begingroup$ Where should I run this pip command? Under Python or under window command? or under Cywin? I have tried them all but none successed. $\endgroup$
    – latra
    Commented Jan 4, 2017 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.