def apply_trans_rot(ampal, translation, angle, axis, point, radians=False):
    """Applies a translation and rotation to an AMPAL object."""
    if not numpy.isclose(angle, 0.0):
        ampal.rotate(angle=angle, axis=axis, point=point, radians=radians)
    ampal.translate(vector=translation)
    return
def apply_trans_rot ( ampal , translation , angle , axis , point , radians = False ) : if not numpy . isclose ( angle , 0.0 ) : ampal . rotate ( angle = angle , axis = axis , point = point , radians = radians ) ampal . translate ( vector = translation ) return
Applies a translation and rotation to an AMPAL object.