Usage: AimsSetTransformation.py [options]

set an affine transformation information in an object header from a
transformation file. The command can append, remove, or replace an existing
transformation in the input file. Note that some formats will force certain
transformations to exist or to respect certain criteria, such as the qform in
nifti files which should be rotation + translation only. In such a case it is
possible that the output file will contain some additional transformations
which are not "wanted" here (they are added by the IO layer upon writing).

Options:
  -h, --help            show this help message and exit
  -i FILE, --input=FILE
                        object to set transformation info on (volume, mesh,
                        etc).
  -t TRMFILE, --transformation=TRMFILE
                        transformation file (*.trm). If not specified and -n
                        option is used, then erase the n-th transformation in
                        list.
  -n TRANSNUM, --number=TRANSNUM
                        set transformation information as the n-th
                        transformation. Default: append at end of list
  -d DESTINATION, --destination=DESTINATION
                        set destination referential name/UUID. Default: try to
                        get it from the transformation file header
  -o OUTPUT, --output=OUTPUT
                        output object file name. Default: overwrite input
