Commit adbeb52
committed
add custom atomic scattering factors
classes_atoms.py
- new classes defined, may not be used
- code is incomplete
functions_crystallography.py
- added new functions:
- read_waaskirf_scattering_factor_coefs
- scattering_factor_coefficients_neutron_ndb
- scattering_factor_coefficients_neutron_sears
- scattering_factor_coefficients_xray_itc
- scattering_factor_coefficients_xray_waaskirf
- scattering_factor_coefficients_electron_peng
- scattering_factor_coefficients
- analytical_scattering_factor
- add_custom_form_factor_coefs
- scattering_factor_coefficients_custom
- xray_dispersion_table_custom
- custom_scattering_factor
- added custom form factor efficients and dispersion table
- Added McPhase magnetic form factors
- added load_magnetic_ff_coefs() and changed magnetic_form_factor() to use McPhase magnetic form factors
- added hunds_rule(), glande() and atom_valence_state()
- corrected xray_dispersion_corrections() to allow energy_kev=None
functions_scattering.py
- added custom scattering type
classes_scattering.py
- added custom scattering type in docs
classes_plotting.py
- fixed label issue
functions_general.py
- added liststr()
examples
- added example_custom_scattering_factors.py
tests
- added test_data_tables.py
- all tests pass1 parent 6f11257 commit adbeb52
8 files changed
Lines changed: 1417 additions & 43 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments