Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASE integration #27

Open
blokhin opened this issue Dec 7, 2021 · 2 comments
Open

ASE integration #27

blokhin opened this issue Dec 7, 2021 · 2 comments

Comments

@blokhin
Copy link

blokhin commented Dec 7, 2021

Dear colleagues, thanks for the nice tool! Are there any plans to integrate with the atomic simulation environment Python framework which is very widely used? The integration seems to be relatively straightforward.

@rangsimanketkaew
Copy link
Member

Thanks for the suggestion. We will have a look at it.

@blokhin
Copy link
Author

blokhin commented Feb 2, 2022

This is the typical ASE usage:

from ase.spacegroup import crystal

crystal_obj = crystal(
    ('Sr', 'Ti', 'O', 'O'),
    basis=[(0, 0.5, 0.25), (0, 0, 0), (0, 0, 0.25), (0.255, 0.755, 0)],
    spacegroup=140, cellpar=[5.511, 5.511, 7.796, 90, 90, 90],
    primitive_cell=True
)

# then apply some external algo for octahedral distortion extraction:
<...>
        self.assertEqual(
            crystal_obj.apps['perovskite_tilting']['data'],
            1.15
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants