Trees | Indices | Help |
|
---|
|
|
|||
ParserWrapper Manages the argparse module to parse user command line arguments. |
|||
CheckInput Manage checking user input. |
|||
Nanoparticle Manage the building of a nanoparticle. |
|
|||
list of str |
|
||
bool |
|
||
str |
|
||
tuple |
|
||
dict |
|
|
|||
__doc__ =
|
|||
_version = '$Revision 0.0 $'
|
|||
DEFAULT_SHAPE = 'cube'
|
|||
ALL_SHAPES = shapes.SHAPES_NAMES_TO_OBJECTS_DICT.keys()
|
|||
OUTFILE_SUFFIX = '-out'
|
|||
FRAGMENT_NAME =
|
|||
TERM_FRAG =
|
|||
TERM_FRAGS =
|
|||
TERM_DICT = OrderedDict([('none', ['', '']), ('hydrogen', ['',
|
|||
TERM_DIRECTION = 'forward'
|
|||
TERM_BOND_LENGTH = 1.50
|
|||
REPRESENTATION_KEY = 'i_m_representation'
|
|||
REPRESENTATION = 3
|
|||
FROM_REP_KEY = 'i_m_from_rep'
|
|||
TO_REP_KEY = 'i_m_to_rep'
|
|||
NANOPARTICLE_NATOMS_KEY = 'i_matsci_Nanoparticle_Natoms'
|
|||
NANOPARTICLE_VOLUME_KEY = 'r_matsci_Volume/Ang.^3'
|
|||
NANOPARTICLE_SURFACE_AREA_KEY = 'r_matsci_Surface_Area/Ang.^2'
|
|||
NANOPARTICLE_CIRCUMRADIUS_KEY = 'r_matsci_Circumradius/Ang.'
|
|||
NANOPARTICLE_DENSITY_KEY = 'r_matsci_Density/g/cm^3'
|
|||
NANOPARTICLE_TEMPLATE = 'b_matsci_Nanoparticle_Template'
|
|||
ORIGINAL_ATOM_KEY = 'b_matsci_np_gui_original_atom'
|
|||
NUM_DECIMAL = 4
|
|||
CM_TO_ANGSTROM = float(100000000)
|
|||
TOKEN_SEPARATOR = ','
|
|||
KEY_VALUE_SEPARATOR = '='
|
|||
AXIS_KEY = 'axis'
|
|||
VECTOR_KEY = 'vector'
|
|||
BASIS_KEY = 'basis'
|
|||
HKL_VALUE = 'hkl'
|
|||
ABC_VALUE = 'abc'
|
|||
XYZ_VALUE = 'xyz'
|
|||
ALIGNMENT_KEYS = [AXIS_KEY, VECTOR_KEY, BASIS_KEY]
|
|||
BASIS_VALUES = [HKL_VALUE, ABC_VALUE, XYZ_VALUE]
|
|||
PRIMARY_ALIGNMENT_DEFAULT = OrderedDict([(AXIS_KEY, '1'), (VEC
|
|||
SECONDARY_ALIGNMENT_DEFAULT = OrderedDict([(AXIS_KEY, '1'), (V
|
|||
dict_to_str = lambda x:
|
|||
PRIMARY_ALIGNMENT_DEFAULT_LIST = dict_to_str(PRIMARY_ALIGNMENT
|
|||
SECONDARY_ALIGNMENT_DEFAULT_LIST = dict_to_str(SECONDARY_ALIGN
|
|||
INCLUDE_AXES_DEFAULT = False hash(x) |
|||
VERTICES_DEFAULT = []
|
|||
ALLOW_FRAGMENTS = False hash(x) |
|
Get the properties which are required for defining a crystal structure
|
Check if the structure has all the required crystal lattice properties
|
Return a formatted collection of shapes and alignment axis IDs.
|
Take a tuple of two-element subtuples and group them by both key and value and collect into subsubtuples. For example, take ((1, 2), (1, 3), (4, 5), (6, 7), (8, 7)) and return (((1), (2, 3)), ((4), (5)), ((6, 8), (7))).
|
Build the kwargs dictionary from an unformatted and unvalidated list of kwargs.
|
|
__doc__
|
TERM_FRAGS
|
TERM_DICT
|
PRIMARY_ALIGNMENT_DEFAULT
|
SECONDARY_ALIGNMENT_DEFAULT
|
PRIMARY_ALIGNMENT_DEFAULT_LIST
|
SECONDARY_ALIGNMENT_DEFAULT_LIST
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:17 2015 | http://epydoc.sourceforge.net |