diversify _atom_type_scat.inv_mott_bethe_* and _ats.gaussian_* to better deliniate coefs#630
Conversation
According to the tags in this GitHub repository, version 3.3.0 has not yet been released. :) If It seems reasonable to move the |
|
Yes, both lists need to be the same length. But in a single list, elements need to be present in pairs. I like the two-list idea as it allows you to easily loop (in a programming sense) |
@jamesrhester can I have some inputhere please? Is this possible? I've also noticed that the same can be done for I can also unify the nomenclature between them all. |
|
Dimensional analysis: s=sin(Th)/lambda Given that the save frame for Units:
So:
|
Seems like an argument for having them in separate lists then. |
…previous gaussian nomenclature
_atom_type_scat.inv_mott_bethe_* and _ats.gaussian_* to better deliniate coefs
|
I've rejigged data names, unified nomenclature, and updated units. I haven't deleted or deprecated anything. |
If @nautolycus hasn't started his typesetting then we can potentially make such a large change (in typesetting terms a lot of new definitions can wreck the flow on the page. Small adjustments are OK). I don't think this is important enough to force @nautolycus to redo any work, though. That said, I do agree with the thrust of the changes, if only for the next release. The less heterogeneity in lists, the better. |
|
Roger doger. What about in regards deleting/deprecating the datanames? is that possible? Would prefer to delete, but if they're already part of a release... (assuming @nautolycus is good with the additions) |
I strongly doubt any of these data names have been used in a data file. They were introduced in order to enable automated calculation of structure factors using dREL and are not something most software feels moved to report in a data file. So I'd be comfortable removing them. Let's wait and see whether or not @nautolycus has started his typesetting and we'll make a call after that. |
Sorry, I'm not following GitHub messages closely at the moment, so please also email me where immediate input is required. I have no quibble with such a change from the viewpoint of presentation/typesetting. In general, any changes up to the publication of the release candidate are OK, though a heads-up on any significant changes will be appreciated. |
…//github.com/rowlesmr/cif_core into enhance-_atom_type_scat.inv_mott_bethe_coefs
to avoid clash between a~i~ and a~0~ notation
maintain consistency with other datanames and abbreviations
there are old_coef names in other categories. Also spell it that way in PD.
|
I'm seeing some data names changed to |
That's me missing them. Given the previous use of |
The definition of
_atom_type_scat.inv_mott_bethe_coefsholds the gaussian constant, scale and exponent in a single list.This PR gives three new data names (and their SU counterparts) to split up the three types of values into three data names:
_atom_type_scat.inv_mott_bethe_c_coefs_atom_type_scat.inv_mott_bethe_d_coefs_atom_type_scat.inv_mott_bethe_constantthe coeffs from the equation
f(s; Z~0~) = Z~0~ - 8π * a~0~ * s^2^ * {e + Sum[ c~i~ * exp(-d~i~ * s^2^), i=1:N]}are stored separately: e (the constant),c~i~inc_coefs, andd~i~ind_coefs.Ideally_atom_type_scat.inv_mott_bethe_coefswould just be straight up removed, as I don't think it's been released yet, but the RC has been set up, so probably not.Argh. v3.3.0 has come out in the meantime.
.
edit:
Added
_atom_type_scat.inv_mott_bethe_as_atom_type_scat.inv_mott_bethe_bs_atom_type_scat.inv_mott_bethe_c_atom_type_scat.gaussian_as_atom_type_scat.gaussian_bs_atom_type_scat.gaussian_c_atom_type_scat.cromer_mann_as_atom_type_scat.cromer_mann_bs