-
Notifications
You must be signed in to change notification settings - Fork 9
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
cif_core.dic: should _atom_type_scat.length_neutron
import the defaults from templ_enum.cif
#392
Comments
We're just finding out! . But to actually answer the question, I'm guessing because . Also, should the value actually be |
Just having a quick read of ITC and ITH, and I don't know if I understand how neutron intensities are calculated. ITC eqn 6.1.1.93 says: where F is the structure factor, j is the atom number, m is the number of atoms, f is the scattering factor, T is the temperature factor, and r is the atom position. Furthermore, f = f0 + f' + if''. Scattered intensities are proportional to |F|^2, and so we can replace f^2 with ff*, giving a (Real) value of ((f0 + f')^2 + (f'')^2). ITH, eqn 2.3.7 gives the exact same equation, but replaces f for b, the bound coherent scattering length. . How, then, can the values in If the scattering lengths in Table 4.4.4.1 are Dy - 16.9 vs 16.9 - 0.276i (this is just the real component) When comparing with the lengths that TOPAS uses, TOPAS just seems to use the real component (divided by 10, for some reason). GSASII is similar (see line 771) with magnitudes, and also records the imaginary component for some isotopes, and not others. What am I missing? |
Also, how are we supposed to represent complex values in CIF-speak? I can't find a reference or see any examples anywhere. |
I do not think that this is currently specified in any publicly available sources, but it will be in the new edition of ITG. Last I saw it, the description of complex CIF numbers from the draft version of a chapter read:
So "-3.14+42j", "42 + 3.14(8)j", "4.2(1)-62.8(1)j" should all work. This is the format that is currently expected by the CIF validator which is used to check dictionaries in the repositories. |
Ta a lot. Why j? We're not electrical engineers... |
Using |
The
templ_enum.cif
file contains thelength_neutron
save frame which seemingly contains the default values of bound coherent neutron scattering lengths for various elements. This save frame is currently not imported by any of the dictionaries, but it could potentially be used by the_atom_type_scat.length_neutron
definition from thecif_core.dic
dictionary.Maybe there is a good reason this is not being done?
The text was updated successfully, but these errors were encountered: