change_center.py

A script to translate all atoms in a file around a new center.

$ change_center.py -h

usage: change_center.py [-h] [-x X] [-y Y] [-z Z] [input_file] [output_file]

positional arguments:
  input_file   by default, reads from stdin
  output_file  by default, writes to stdout

optional arguments:
  -h, --help   show this help message and exit
  -x X         0 by default
  -y Y         0 by default
  -z Z         0 by default

Download scripts