forked from diffpy/diffpy.srreal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscatteringfactortable.py
More file actions
40 lines (33 loc) · 1.28 KB
/
scatteringfactortable.py
File metadata and controls
40 lines (33 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
##############################################################################
#
# diffpy.srreal by DANSE Diffraction group
# Simon J. L. Billinge
# (c) 2010 The Trustees of Columbia University
# in the City of New York. All rights reserved.
#
# File coded by: Pavol Juhas
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSE_DANSE.txt for license information.
#
##############################################################################
"""Class ScatteringFactorTable -- scattering factors for atoms, ions and
isotopes."""
# exported items, these also makes them show in pydoc.
__all__ = ["ScatteringFactorTable", "SFTXray", "SFTElectron", "SFTNeutron", "SFTElectronNumber", "SFAverage"]
from diffpy.srreal.sfaverage import SFAverage
from diffpy.srreal.srreal_ext import (
ScatteringFactorTable,
SFTElectron,
SFTElectronNumber,
SFTNeutron,
SFTXray,
)
# Pickling Support -----------------------------------------------------------
# disable dictionary pickling for wrapped C++ classes
SFTXray.__getstate_manages_dict__ = None
SFTElectron.__getstate_manages_dict__ = None
SFTNeutron.__getstate_manages_dict__ = None
SFTElectronNumber.__getstate_manages_dict__ = None
# End of file