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

Average sample strain tensor? #77

Open
jonwright opened this issue Dec 7, 2019 · 2 comments
Open

Average sample strain tensor? #77

jonwright opened this issue Dec 7, 2019 · 2 comments

Comments

@jonwright
Copy link
Member

See if we could fit an average sample strain in the transformation gui. Apply this to g-vectors to make indexing easier. Will need a bit of testing to see if you can limit it to two theta shifts?

@jonwright
Copy link
Member Author

Some progress on this could be. Residual error in guitransformer gives average strain as:

  • strain = cot(theta) dtheta

You have directions for each g-vector via (gx,gy,gz)/dstar. You can get a computed strain as:

  • strain_calc = e11.nx.nx + e12.nx.ny + ....

So 6 extra parameters (factors of 2 or not for e12). There might be a way to fit stress instead and then compute peak shifts taking into account some elastic constants, but this seems harder to get right.

Unknown for now is whether the eta/omega should be shifted once the eij are known? If so, in which directions?

You would probably want to separate this fit from the rest of the detector parameter refinement.

One application is better twotheta calc for peak assignments during indexing. Also would be nice to track the overall average strain.

@jonwright
Copy link
Member Author

So this is probably going to come together with the new deformation gradient tensor business. A bit of thought remains to see what to do about eta/omega shifts? Should be 6 eij parameters to be fitted as a sample strain (assuming cell, wavelength and probably distance, are fixed).

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

No branches or pull requests

1 participant