-
-
Notifications
You must be signed in to change notification settings - Fork 64
Command line utilities
The available commands for sisl are:
Easy conversion tool for manipulation of geometries.
It reads various file formats which can be read and, some written again.
By default sgeom takes two arguments, the first is the geometry
to be processed, the second is the output geometry.
There are many possible ways to alter the geometries read by sgeom. To
see all available modes, use this command
sgeom --help
Several common functionalities are existing in sgeom
-
Translate atoms to the origin (
sgeom -O|--origin) -
Translate to specific center (
sgeom -co|--center-of opt)- Unit cell center (
opt=cell) - Atomic mass center (
opt=mass) - Coordinate center (
opt=position|xyz)
- Unit cell center (
-
Translate coordinates into the unit cell (
sgeom -uc|--unit-cell opt)- Retain relative coordinates (
opt=translate|tr|t) - Only shift those coordinates outside the unit cell (
opt=mod)
- Retain relative coordinates (
-
Rotate geometry (
-R|--rotate angle dir)Where
angleis an angle in degrees, suffixing withrfor radians.diris the direction ofx,yorzdirection. -
Repeating the geometry in blocks (
-t|--tile tile dir)Where
tileis an integer larger than 0 anddiris either of thex,yorzdirection. -
Repeating the geometry in sequence, (
-r|--repeat repeat dir) which roughly is the same as--tile, however, the sequence is first repeating the first atom, then the second, etc.
See external accepted file formats for a list of recognised file formats.