Post Processing@
Note
This a working in progress. For now the repo has a script for converting simulation cell in KSOME format to extendedXYZ format. Additionally, there are basic classes and routines which can be used to write custom post-processing codes in Python.
To use the post-processing python codes argparse
, numpy
, termcolor
and pylab
are required.
KSOME Format → ExtendedXYZ Format@
Using ksm2xyz.py -h
should give you the following output
Converts Input/Output Simulation Cell from KSOME format to extendedXYZ format usage: ksm2xyz [-h] -i IN_FNAME [-lc a_0] [-scl Scale] [-rm_t type1 [type2 ...]] [-sr_min Size_Range_min] [-sr_max Size_Range_max] [-o OUT_FNAME] optional arguments: -h, --help show this help message and exit -i IN_FNAME Input file name in KSOME Format (required) -lc a_0, --latt_const a_0 Enter Lattice Constant in Å Default = 1.0 Å -scl Scale, --size_scale Scale Enter Size Scaling (Default:1.0) -rm_t type1 [type2 ...], --rmv_type type1 [type2 ...] Enter defect types that should NOT be included -sr_min Size_Range_min, --size_range_min Size_Range_min Min. Size of Defect Clustr Incld.(Default: 0.0) (Applies to all defect types) -sr_max Size_Range_max, --size_range_max Size_Range_max Max. Size of Defect Clustr Incld.(Default: 1e9) (Applies to all defect types) -o OUT_FNAME Enter Output XYZ Filename Default:Same as Input Filename eXYZ FORMAT Used: X, Y, Z, Type, Scaled Radius Note: All Defects types are spherical and have same size if the number of elemental defects are the same