def point2str(point, precision=1):
    return ' '.join(format(c, '.{0}f'.format(precision)) for c in point)
Format a point for printing, based on specified precision with trailing zeros. Uniform printing for vector-like data
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/itk_transfo/mat_to_displacement.py/point2str