sconv
Structure conversion and manipulation.
API Reference
- class aenet.commandline.aenet_sconv.Sconv(subparsers=None)[source]
Conversion between atomic structure formats.
- _man()[source]
The return value of this private method is the manual entry to be added to the tool’s help message (i.e., shown when the
--helpflag is passed).
- _set_arguments()[source]
Use this method to add command line argument parsers to self.parser.
Example:
- self.parser.add_argument(
“–path”, help=”Path to somewhere (default: .).”, default=”.”)
- read_input_structure(infile, infrmt, input_options, typenames, datafile)[source]
parse input options and read input structure
- sconvert(infile='-', outfile=None, infrmt=None, outfrmt=None, print_formats=False, print_info=False, frame=None, typenames=[], datafile=None, align_frames=False, split=False, rotate=False, sort=False, rotate_angle=None, wrap=False, scale=None, shift=None, cut=None, supercell=None, transform=array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]]), vac=None, fix_atoms=None, remove_atoms=None, input_options=[], output_options=[])[source]