Skip to content

Conversation

@sezelt
Copy link

@sezelt sezelt commented Aug 6, 2021

this changes the __init__ to use pymatgen for getting the structural information.

I haven't changed anything in the diffraction generation parts, I just replicated what the initialization was doing to prepare structural info.

Now, in order to get Au, you just run the line:

Au = py4DSTEM.process.diffraction.Crystal("mp-81")

Or if you had a CIF, you can use pymatgen to load it, and pass the Structure object to the ACOM.

@cophus cophus merged commit 59a2e51 into cophus:acom Aug 17, 2021
cophus pushed a commit that referenced this pull request Dec 15, 2022
adding bounds to fits
cophus pushed a commit that referenced this pull request May 11, 2023
updates for braggvector calibration
cophus pushed a commit that referenced this pull request Jul 10, 2023
cophus pushed a commit that referenced this pull request Jul 12, 2024
cophus pushed a commit that referenced this pull request Jun 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants