A colab notebook to compare XRD outputs to predicted powder spectra #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a colab-friendly notebook that predicts Cu3P, CuP2, and Cu2P7 spectra from their cif files, and visually compares those spectra to your Saturday Aug 5 XRD data. This notebook may be useful for predicting powder spectra of other compounds and verifying your results.
Full text
Hi - Thanks for sharing your data, it's been really cool following your efforts this weekend. I met with a friend who does XRD and showed him your data on Saturday, and he used some software to compare to the predicted Cu3P spectra and also determined that you had a problem (which others diagnosed as a backwards ratio of Cu to P).
What bothered me was that all the software he used had super expensive licenses or was really hard to get/install/use.
So I found an open-source python project HEXRD and set it up to run in a colab notebook, in case that gives you an easier way to analyze your data.
A HUGE DISCLAIMER: I'm a computational chemist and I've never dealt with direct processing of XRD data before.
Here's a link to run it on colab if you want to try it out. There's a little spooky magic at the beginning to get conda running, and when the first cell runs successfully it'll say "the kernel crashed", but that just means it worked correctly and you can ignore it.