qzhu2017 / XRD

X-ray diffraction calculations
MIT License
7 stars 6 forks source link

Factors & Profiling Functions #8

Closed sayred1 closed 4 years ago

sayred1 commented 4 years ago

To do:

sayred1 commented 4 years ago

@qzhu2017

Just want to give you an update on what I've done since our last meeting. In our last meeting we discussed that I should look into the absorption coefficient, the preferred orientation coefficient, and applying the profiling functions. I'm trying to balance my time out evenly between finals and research, so all I have done is read more into the absorption coefficient, here's what I've found:

In principle, calculation for the absorption coefficient (A) is simple, it's a function of the linear absorption coefficient (L) which is defined as a fraction of a beam of radiation absorbed per unit thickness of absorber. Normally, L is not tabulated but it can be found from intensity measurements in the lab, however there is a relationship between L and the mass absorption coefficients (M). M is a material dependent coefficient that is defined as L divided by the density of the crystal. For most Elements, M is tabulated at different photon wavelengths/energies (https://physics.nist.gov/PhysRefData/XrayMassCoef/tab3.html), but is not tabulated for crystals, so using tabulated element values will be an approximation. Further, since our XRD code relies on some input wavelength, we'd only be able to calculate M for certain wavelengths meaning that the user can only use A in strict cases (cases controlled by the tabulated values).

With that being said, let me know if you'd still like to add this option. I will now look into the preferred orientation and profiling functions this small break.

qzhu2017 commented 4 years ago

@sayred1 From the tabulated values, you can then do interpolation to obtain the M for any arbitrary wavelength. I am not sure if you will apply A on each atom or on the structure. If you only apply the correction on the atom. I think you should include it.

Btw, I don't like the way you are working now. If you have trouble in focusing. Please work on the project when you are fully done with the final. I expect you can focus on this project and quickly complete the project in a few days. Not spend a few hrs and then do something else. Also, try to frequently update the code. It is hard for me to check your progress without seeing the code.